no message

parent 35154300
...@@ -158,14 +158,14 @@ class _ShopState extends State<Shop> { ...@@ -158,14 +158,14 @@ class _ShopState extends State<Shop> {
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Text( Text(
'4.9', '5.0',
textAlign: TextAlign.right, textAlign: TextAlign.right,
style: TextStyle( style: TextStyle(
color: Colors.black38, color: Colors.black38,
fontSize: SizeConfig.getFontSize(16), fontSize: SizeConfig.getFontSize(16),
fontFamily: "SF_Pro_Text", fontFamily: "SF_Pro_Text",
fontWeight: FontWeight.w700), fontWeight: FontWeight.w700),
), ),SizedBox(width:5),
Image.asset( Image.asset(
'assets/images/ic_star_active.png', 'assets/images/ic_star_active.png',
width: SizeConfig.getWidth(16), width: SizeConfig.getWidth(16),
...@@ -253,6 +253,7 @@ class _ShopState extends State<Shop> { ...@@ -253,6 +253,7 @@ class _ShopState extends State<Shop> {
color: Color.fromRGBO(69, 85, 79, 1), color: Color.fromRGBO(69, 85, 79, 1),
height: SizeConfig.getHeight(270), height: SizeConfig.getHeight(270),
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
), ),
Positioned( Positioned(
top: SizeConfig.getPadding(0), top: SizeConfig.getPadding(0),
...@@ -265,6 +266,14 @@ class _ShopState extends State<Shop> { ...@@ -265,6 +266,14 @@ class _ShopState extends State<Shop> {
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
), ),
),Positioned(
top: SizeConfig.getPadding(0),
child: Container(
height: SizeConfig.getHeight(300),
width: MediaQuery.of(context).size.width,
alignment: Alignment.topCenter,
color: Colors.deepOrangeAccent.withOpacity(0.4)
),
), ),
Positioned( Positioned(
top: SizeConfig.getPadding(150), top: SizeConfig.getPadding(150),
......
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