update all screens with pulldown to refresh as false & reload home on back

This commit is contained in:
2024-10-08 10:11:30 +02:00
parent db6d1a3a1f
commit 76d904d653
15 changed files with 50 additions and 0 deletions

View File

@@ -296,6 +296,8 @@ class _FullScreenFileViewerState extends State<FullScreenFileViewer> {
actionDrawer: null,
secondaryActionDrawer: null,
bottomNavBar: null,
pullDownToRefresh: false,
onPullDown: () async {},
);
}
}

View File

@@ -400,6 +400,8 @@ class _AddPatientState extends State<AddPatient> {
actionDrawer: null,
secondaryActionDrawer: null,
bottomNavBar: null,
pullDownToRefresh: false,
onPullDown: () async {},
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -664,6 +664,8 @@ class _EditPatientState extends State<EditPatient> {
actionDrawer: null,
secondaryActionDrawer: null,
bottomNavBar: null,
pullDownToRefresh: false,
onPullDown: () async {},
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -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(

View File

@@ -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(