mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 20:48:56 +03:30
Remove Filters changes modals
This commit is contained in:
@@ -359,25 +359,28 @@ class _TestFilterScreenState extends State<TestFilterScreen> {
|
||||
fDateCTRL.text,
|
||||
uDateCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
// Navigator.of(context).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then(
|
||||
(_) =>
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
Routes.testResultScreen,
|
||||
),
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// // Navigator.of(context).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then(
|
||||
// (_) =>
|
||||
// Navigator.of(context).popAndPushNamed(
|
||||
// Routes.testResultScreen,
|
||||
// ),
|
||||
// );
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
Routes.testResultScreen,
|
||||
);
|
||||
},
|
||||
child: Container(
|
||||
|
||||
@@ -45,22 +45,23 @@ class CycleFilterSaveButton extends StatelessWidget {
|
||||
hospitalID,
|
||||
dateCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(Routes.cycleResultScreen);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(Routes.cycleResultScreen);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(Routes.cycleResultScreen);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
@@ -51,22 +51,23 @@ class ItemFilterSaveButton extends StatelessWidget {
|
||||
sizeCTRL.text,
|
||||
specificCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(push);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
@@ -42,22 +42,23 @@ class LabelFilterSaveButton extends StatelessWidget {
|
||||
striizerIdCTRL.text,
|
||||
hospitalID,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(Routes.labelResultScreen);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(Routes.labelResultScreen);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(Routes.labelResultScreen);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
@@ -38,22 +38,23 @@ class MyItemFilterSaveButton extends StatelessWidget {
|
||||
sizeCTRL.text,
|
||||
specificCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(push);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
@@ -32,22 +32,23 @@ class MyPackagesFilterSaveButton extends StatelessWidget {
|
||||
nameCTRL.text,
|
||||
// udiCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(push);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
@@ -42,22 +42,23 @@ class PackageFilterSaveButton extends StatelessWidget {
|
||||
hospitalID,
|
||||
// udiCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(Routes.packageResultScreen);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(Routes.packageResultScreen);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(Routes.packageResultScreen);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
Reference in New Issue
Block a user