update all screens with pulldown to refresh as false & reload home on back
This commit is contained in:
@@ -296,6 +296,8 @@ class _FullScreenFileViewerState extends State<FullScreenFileViewer> {
|
||||
actionDrawer: null,
|
||||
secondaryActionDrawer: null,
|
||||
bottomNavBar: null,
|
||||
pullDownToRefresh: false,
|
||||
onPullDown: () async {},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -400,6 +400,8 @@ class _AddPatientState extends State<AddPatient> {
|
||||
actionDrawer: null,
|
||||
secondaryActionDrawer: null,
|
||||
bottomNavBar: null,
|
||||
pullDownToRefresh: false,
|
||||
onPullDown: () async {},
|
||||
);
|
||||
// return Scaffold(
|
||||
// // appBar: const MIHAppBar(
|
||||
|
||||
@@ -664,6 +664,8 @@ class _EditPatientState extends State<EditPatient> {
|
||||
actionDrawer: null,
|
||||
secondaryActionDrawer: null,
|
||||
bottomNavBar: null,
|
||||
pullDownToRefresh: false,
|
||||
onPullDown: () async {},
|
||||
);
|
||||
// return Scaffold(
|
||||
// // appBar: const MIHAppBar(
|
||||
|
||||
@@ -348,6 +348,10 @@ class _PatientManagerState extends State<PatientManager> {
|
||||
iconSize: 35,
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
'/',
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -420,6 +424,8 @@ class _PatientManagerState extends State<PatientManager> {
|
||||
actionDrawer: null,
|
||||
secondaryActionDrawer: null,
|
||||
bottomNavBar: null,
|
||||
pullDownToRefresh: false,
|
||||
onPullDown: () async {},
|
||||
);
|
||||
// return Scaffold(
|
||||
// // appBar: const MIHAppBar(
|
||||
|
||||
@@ -110,6 +110,10 @@ class _PatientViewState extends State<PatientView> {
|
||||
iconSize: 35,
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
'/',
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -184,6 +188,8 @@ class _PatientViewState extends State<PatientView> {
|
||||
actionDrawer: null,
|
||||
secondaryActionDrawer: null,
|
||||
bottomNavBar: null,
|
||||
pullDownToRefresh: false,
|
||||
onPullDown: () async {},
|
||||
);
|
||||
// return Scaffold(
|
||||
// body: SafeArea(
|
||||
|
||||
Reference in New Issue
Block a user