change page navigation

This commit is contained in:
PhyoThandar
2020-10-14 13:54:42 +06:30
parent 8f5542c4fb
commit 4007d20fd2
66 changed files with 249 additions and 160 deletions

View File

@@ -98,7 +98,7 @@ class _ReceivingListState extends State<ReceivingList> {
_newReceiving() {
Navigator.push(
context,
BottomUpPageRoute(ReceivingEditor()),
CupertinoPageRoute(builder: (context) => ReceivingEditor()),
);
}
@@ -108,7 +108,8 @@ class _ReceivingListState extends State<ReceivingList> {
if (_package == null) return;
Navigator.push(
context,
BottomUpPageRoute(ReceivingInfo(package: _package)),
CupertinoPageRoute(
builder: (context) => ReceivingInfo(package: _package)),
);
}
}