|
|
|
|
@ -93,7 +93,12 @@ class _PatientsScreenNewState extends State<PatientsScreenNew> {
|
|
|
|
|
},
|
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
|
appBarTitle: "Search Patient",
|
|
|
|
|
isShowAppBar: false,
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBar: !widget.isSearch && !widget.isInpatient?HeaderInSearch(
|
|
|
|
|
title: "My Out patient",
|
|
|
|
|
):HeaderInSearch(
|
|
|
|
|
title: "Search for ${widget.searchKey}",
|
|
|
|
|
),
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
body: Container(
|
|
|
|
|
color: Colors.grey[200],
|
|
|
|
|
@ -103,14 +108,6 @@ class _PatientsScreenNewState extends State<PatientsScreenNew> {
|
|
|
|
|
Container(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
if(widget.isSearch)
|
|
|
|
|
HeaderInSearch(
|
|
|
|
|
title: "Search for ${widget.searchKey}",
|
|
|
|
|
),
|
|
|
|
|
if(!widget.isSearch && !widget.isInpatient)
|
|
|
|
|
HeaderInSearch(
|
|
|
|
|
title: "My Out patient",
|
|
|
|
|
),
|
|
|
|
|
if(!widget.isInpatient)
|
|
|
|
|
Container(
|
|
|
|
|
// color: Colors.red,
|
|
|
|
|
|