|
|
|
@ -129,8 +129,8 @@ class _DashboardPageState extends State<DashboardPage> {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
DashboardVmCustomer dashboardVM = context.read<DashboardVmCustomer>();
|
|
|
|
DashboardVmCustomer dashboardVM = context.read<DashboardVmCustomer>();
|
|
|
|
bool isHomePage = dashboardVM.selectedNavbarBarIndex == 2;
|
|
|
|
bool isHomePage = dashboardVM.selectedNavbarBarIndex == 2;
|
|
|
|
return WillPopScope(
|
|
|
|
return PopScope(
|
|
|
|
onWillPop: () async => Future.value(false),
|
|
|
|
canPop: false,
|
|
|
|
child: Scaffold(
|
|
|
|
child: Scaffold(
|
|
|
|
appBar: CustomAppBar(
|
|
|
|
appBar: CustomAppBar(
|
|
|
|
backgroundColor: null,
|
|
|
|
backgroundColor: null,
|
|
|
|
|