no message

parent 19e72f08
......@@ -34,7 +34,7 @@ class MyApp extends StatelessWidget {
),
home: MainShop()
home: SplashScreenPage()
......
......@@ -223,7 +223,7 @@ class _FavoriteState extends State<Favorite> {
children: <Widget>[
Container(
color: Color.fromRGBO(69, 85, 79, 1),
height: SizeConfig.getHeight(200),
height: SizeConfig.getHeight(180),
width: MediaQuery.of(context).size.width,
),
Positioned(
......@@ -243,21 +243,15 @@ class _FavoriteState extends State<Favorite> {
left: SizeConfig.getPadding(16),
child: Container(
child: GestureDetector(
onTap: () {
showDialog(
context: context,
builder: (BuildContext context) {
return NavDrawer();
onTap: () {
Navigator.pop(context);
},
);
},
child: Image.asset(
'assets/images/ic_menu.png',
height: SizeConfig.getWidth(24),
width: SizeConfig.getWidth(30),
fit: BoxFit.cover,
),
),
child: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: SizeConfig.getFontSize(24),
),
),
),
),
],
......
......@@ -259,7 +259,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
child: ClipRRect(
borderRadius: BorderRadius.all(
Radius.circular(SizeConfig.getWidth(56))),
child: Image.network(
child: presenter.getmodel.result[0].image==null?Container(): Image.network(
presenter.getmodel.result[0].image,
fit: BoxFit.contain,
width: SizeConfig.getWidth(30),
......@@ -285,7 +285,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
child: ClipRRect(
borderRadius: BorderRadius.all(
Radius.circular(SizeConfig.getWidth(56))),
child: Image.network(
child: presenter.getmodel.result[0].image==null?Container(): Image.network(
presenter.getmodel.result[0].image,
fit: BoxFit.contain,
width: SizeConfig.getWidth(30),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment