Commit 6b35189b by Mobile : Art

update

parent 561025d1
...@@ -98,7 +98,7 @@ class _FavoriteState extends State<Favorite> { ...@@ -98,7 +98,7 @@ class _FavoriteState extends State<Favorite> {
.cover, .cover,
width: SizeConfig.getWidth(110), width: SizeConfig.getWidth(110),
height: SizeConfig.getHeight(150), height: SizeConfig.getHeight(150),
fit: BoxFit.fitWidth, fit: BoxFit.cover,
), ),
Expanded( Expanded(
child: Container( child: Container(
...@@ -114,18 +114,20 @@ class _FavoriteState extends State<Favorite> { ...@@ -114,18 +114,20 @@ class _FavoriteState extends State<Favorite> {
// color: Colors.blue, // color: Colors.blue,
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: Container(
child: Container( child: Text(
child: Text( presenter.favoriteModel.wishListItem[index]
presenter.favoriteModel.wishListItem[index].product.name, .product.name,
style: TextStyle( style: TextStyle(
color: Colors.black, color: Colors.black,
fontSize: SizeConfig.getFontSize(15)), fontSize: SizeConfig.getFontSize(15),
maxLines: 2, fontFamily: "SF_Pro_Text",
), fontWeight: FontWeight.w700),
maxLines: 2,
), ),
), ),
),
// Spacer(), // Spacer(),
IconButton( IconButton(
onPressed: () { onPressed: () {
...@@ -145,8 +147,10 @@ class _FavoriteState extends State<Favorite> { ...@@ -145,8 +147,10 @@ class _FavoriteState extends State<Favorite> {
child: Text( child: Text(
'นวดเเผนไทย', 'นวดเเผนไทย',
style: TextStyle( style: TextStyle(
color: Colors.black, color: Colors.black,
), fontSize: SizeConfig.getFontSize(14),
fontFamily: "SF_Pro_Text",
fontWeight: FontWeight.w500),
), ),
), ),
SizedBox( SizedBox(
...@@ -239,19 +243,19 @@ class _FavoriteState extends State<Favorite> { ...@@ -239,19 +243,19 @@ class _FavoriteState extends State<Favorite> {
), ),
), ),
Positioned( Positioned(
top: SizeConfig.getPadding(77), top: SizeConfig.getPadding(70),
left: SizeConfig.getPadding(16), left: SizeConfig.getPadding(16),
child: Container( child: Container(
child: GestureDetector( child: GestureDetector(
onTap: () { onTap: () {
Navigator.pop(context); Navigator.pop(context);
}, },
child: Icon( child: Icon(
Icons.keyboard_arrow_left, Icons.keyboard_arrow_left,
color: Colors.white, color: Colors.white,
size: SizeConfig.getFontSize(24), size: SizeConfig.getFontSize(40),
), ),
), ),
), ),
), ),
], ],
......
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