update all screens with pulldown to refresh as false & reload home on back
This commit is contained in:
parent
db6d1a3a1f
commit
76d904d653
15 changed files with 50 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue