no message

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