update
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:cathaypay_mobile/Home/all_menu.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -27,7 +28,7 @@ class _HomePageState extends State<HomeBottomMenuWidget> {
|
||||
children: <Widget>[
|
||||
Container(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
padding: EdgeInsets.all(20),
|
||||
padding: EdgeInsets.all(10),
|
||||
decoration: BoxDecoration(
|
||||
boxShadow: [BoxShadow(color: Color.fromRGBO(0, 0, 0, 0.07999999821186066), offset: Offset(0, -4), blurRadius: 4)],
|
||||
color: Color.fromRGBO(255, 255, 255, 1),
|
||||
@@ -42,10 +43,10 @@ class _HomePageState extends State<HomeBottomMenuWidget> {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
height: 35,
|
||||
width: 35,
|
||||
height: 45,
|
||||
width: 45,
|
||||
child: Image(
|
||||
image: AssetImage('images/home/1.home.png'),
|
||||
image: AssetImage('images/home/15.png'),
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
@@ -70,10 +71,10 @@ class _HomePageState extends State<HomeBottomMenuWidget> {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
height: 35,
|
||||
width: 35,
|
||||
height: 45,
|
||||
width: 45,
|
||||
child: Image(
|
||||
image: AssetImage('images/home/2.scan.png'),
|
||||
image: AssetImage('images/home/17.png'),
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
@@ -101,17 +102,24 @@ class _HomePageState extends State<HomeBottomMenuWidget> {
|
||||
),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
// clearProfile();
|
||||
Navigator.popUntil(context, ModalRoute.withName('/'));
|
||||
Navigator.pushNamed(context, '/HomePage');
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => AllMenuPage(),
|
||||
),
|
||||
);
|
||||
},
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Container(
|
||||
height: 35,
|
||||
width: 35,
|
||||
height: 45,
|
||||
width: 45,
|
||||
child: Image(
|
||||
image: AssetImage('images/home/3.all.png'),
|
||||
image: AssetImage('images/home/19.png'),
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user