no message

parent 04853921
...@@ -163,8 +163,8 @@ class _FavoriteState extends State<Favorite> { ...@@ -163,8 +163,8 @@ class _FavoriteState extends State<Favorite> {
children: <Widget>[ children: <Widget>[
Image.asset( Image.asset(
'assets/images/clock.png', 'assets/images/clock.png',
height: 20, height: SizeConfig.getHeight(20),
width: 20, width: SizeConfig.getWidth(20),
), ),
SizedBox( SizedBox(
width: SizeConfig.getWidth(5), width: SizeConfig.getWidth(5),
...@@ -305,8 +305,8 @@ class _FavoriteState extends State<Favorite> { ...@@ -305,8 +305,8 @@ class _FavoriteState extends State<Favorite> {
children: <Widget>[ children: <Widget>[
Image.asset( Image.asset(
'assets/images/clock.png', 'assets/images/clock.png',
height: 20, height: SizeConfig.getHeight(20),
width: 20, width: SizeConfig.getWidth(20),
), ),
SizedBox( SizedBox(
width: SizeConfig.getWidth(5), width: SizeConfig.getWidth(5),
......
...@@ -35,7 +35,10 @@ class _MyCartState extends State<MyCart> { ...@@ -35,7 +35,10 @@ class _MyCartState extends State<MyCart> {
color: Colors.white, color: Colors.white,
), ),
Padding( Padding(
padding: const EdgeInsets.only(left: 7, right: 12), padding: const EdgeInsets.only(
left: 7,
right: 12,
),
child: Text( child: Text(
'โค้ดส่วนลด', 'โค้ดส่วนลด',
style: TextStyle( style: TextStyle(
...@@ -461,7 +464,9 @@ class _MyCartState extends State<MyCart> { ...@@ -461,7 +464,9 @@ class _MyCartState extends State<MyCart> {
height: SizeConfig.getPadding(20), height: SizeConfig.getPadding(20),
child: RaisedButton( child: RaisedButton(
child: Text('-'), child: Text('-'),
padding: EdgeInsets.only(right: SizeConfig.getPadding(0),), padding: EdgeInsets.only(
right: SizeConfig.getPadding(0),
),
onPressed: () { onPressed: () {
setState(() { setState(() {
a = a - 1; a = a - 1;
...@@ -478,7 +483,9 @@ class _MyCartState extends State<MyCart> { ...@@ -478,7 +483,9 @@ class _MyCartState extends State<MyCart> {
height: SizeConfig.getPadding(20), height: SizeConfig.getPadding(20),
child: RaisedButton( child: RaisedButton(
child: Text('+'), child: Text('+'),
padding: EdgeInsets.only(right: SizeConfig.getPadding(0),), padding: EdgeInsets.only(
right: SizeConfig.getPadding(0),
),
onPressed: () { onPressed: () {
setState(() { setState(() {
a = a + 1; a = a + 1;
......
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