diff --git a/lib/screens/home_screens/single_product.dart b/lib/screens/home_screens/single_product.dart index cd7604a2ceddf002d45029de67caf9c592d98465..d323660a625b131c095e68ffcfbd17997f8f0654 100644 --- a/lib/screens/home_screens/single_product.dart +++ b/lib/screens/home_screens/single_product.dart @@ -50,7 +50,7 @@ class SingleProduct extends StatelessWidget { fontWeight: FontWeight.bold, ), ), - Text('$productPrice\$/50 Gram', + Text('\$$productPrice/50 Gram', style: TextStyle( color: Colors.grey, )), @@ -66,11 +66,51 @@ class SingleProduct extends StatelessWidget { decoration: BoxDecoration( border: Border.all(color: Colors.grey), + borderRadius: BorderRadius.circular(8), ), + child: Row(children: [ + Expanded(child: Text( + '50 Gram', + style: TextStyle(fontSize: 11), + )), + Center( + child: Icon( + Icons.arrow_drop_down, + size: 20, color: Colors.yellow, + ), + ) + ],), ), - ) + ), + SizedBox( + width: 5, + ), + Container( + height: 25, + width: 50, + decoration: BoxDecoration( + border: Border.all(color: Colors.grey), + borderRadius: BorderRadius.circular(8), + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon(Icons.remove, + size: 15, color: Color(0xffd0b84c)), + Text( + '1', + style: TextStyle( + color: Color(0xffd0b84c), + fontWeight: FontWeight.bold, + ), + ), + Icon(Icons.add, + size: 15, color: Color(0xffd0b84c) + ), + ],), + ), ], - ) + ), ], ))) ],