Commit 2ab8682f by art

update

parents 99ad2318 3a0ee540
......@@ -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(
......@@ -266,38 +269,7 @@ class _MyCartState extends State<MyCart> {
// color: Colors.yellow,
child: Row(
children: <Widget>[
<<<<<<< HEAD
Row(
children: <Widget>[
Image.asset(
'assets/images/clock.png',
height: SizeConfig.getHeight(20),
width: SizeConfig.getWidth(20),
),
Text(
' 90 นาที',
style: TextStyle(
fontFamily: "SF_Pro_Text",
),
),
SizedBox(
width: SizeConfig.getWidth(60),
),
Icon(
Icons.local_offer,
color: Color(0xFFEEAFB7),
),
Text(
'฿1,599.00',
style: TextStyle(
decoration: TextDecoration.lineThrough,
fontSize: SizeConfig.getFontSize(16),
fontFamily: "SF_Pro_Text",
color: Color(0xFFEEAFB7),
),
),
],
=======
Image.asset(
'assets/images/clock.png',
height: SizeConfig.getHeight(20),
......@@ -320,7 +292,6 @@ class _MyCartState extends State<MyCart> {
fontFamily: "SF_Pro_Text",
color: Color(0xFFEEAFB7),
),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
),
],
),
......@@ -352,9 +323,7 @@ class _MyCartState extends State<MyCart> {
child: Text('$a'),
),
SizedBox(
<<<<<<< HEAD
width: SizeConfig.getWidth(60),
=======
width: SizeConfig.getPadding(20),
height: SizeConfig.getPadding(20),
child: RaisedButton(
......@@ -368,7 +337,6 @@ class _MyCartState extends State<MyCart> {
});
},
),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
),
Spacer(),
Text(
......@@ -462,38 +430,7 @@ class _MyCartState extends State<MyCart> {
// color: Colors.yellow,
child: Row(
children: <Widget>[
<<<<<<< HEAD
Row(
children: <Widget>[
Image.asset(
'assets/images/clock.png',
height: SizeConfig.getHeight(20),
width: SizeConfig.getWidth(20),
),
Text(
' 90 นาที',
style: TextStyle(
fontFamily: "SF_Pro_Text",
),
),
SizedBox(
width: SizeConfig.getWidth(60),
),
Icon(
Icons.local_offer,
color: Color(0xFFEEAFB7),
),
Text(
'฿1,599.00',
style: TextStyle(
decoration: TextDecoration.lineThrough,
fontSize: SizeConfig.getFontSize(16),
fontFamily: "SF_Pro_Text",
color: Color(0xFFEEAFB7),
),
),
],
=======
Image.asset(
'assets/images/clock.png',
height: SizeConfig.getHeight(20),
......@@ -516,7 +453,6 @@ class _MyCartState extends State<MyCart> {
fontFamily: "SF_Pro_Text",
color: Color(0xFFEEAFB7),
),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
),
],
),
......@@ -533,7 +469,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;
......@@ -546,21 +484,19 @@ class _MyCartState extends State<MyCart> {
child: Text('$a'),
),
SizedBox(
<<<<<<< HEAD
width: SizeConfig.getWidth(60),
=======
width: SizeConfig.getPadding(20),
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;
});
},
),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
),
Spacer(),
Text(
......
......@@ -78,13 +78,8 @@ class _PaymentdetailState extends State<Paymentdetail> {
fontWeight: FontWeight.bold,
),
),
<<<<<<< HEAD
SizedBox(
width: SizeConfig.getWidth(45),
),
=======
Spacer(),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
Text(
'23.02.2020 08:57',
style: TextStyle(
......@@ -185,13 +180,8 @@ class _PaymentdetailState extends State<Paymentdetail> {
fontWeight: FontWeight.bold,
),
),
<<<<<<< HEAD
SizedBox(
width: SizeConfig.getWidth(45),
),
=======
Spacer(),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
Text(
'23.02.2020 08:57',
style: TextStyle(
......
......@@ -43,13 +43,9 @@ class _PaymentState extends State<Payment> {
),
),
Container(
<<<<<<< HEAD
height: 40,
width: SizeConfig.getWidth(170),
=======
height: SizeConfig.getHeight(40),
width: SizeConfig.getWidth(200),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
color: Colors.white,
child: TextField(
decoration: InputDecoration(
......@@ -98,35 +94,7 @@ class _PaymentState extends State<Payment> {
],
),
),
<<<<<<< HEAD
Container(width: SizeConfig.getWidth(100),height: SizeConfig.getHeight(45),
child: Padding(
padding: const EdgeInsets.only(left:10),
child: RaisedButton(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25.0),
),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => Paymentdetail(),
),
);
},
padding: EdgeInsets.only(
left: 0,
right: 0,
top: 5,
bottom: 0,
),
color: Color(0xFFEEAFB7),
child: Text(
'ยืนยัน',
style: TextStyle(
fontSize: 16,
color: Colors.white,
=======
Container(
padding: EdgeInsets.only(
right: SizeConfig.getPadding(10),
......@@ -141,7 +109,6 @@ class _PaymentState extends State<Payment> {
context,
MaterialPageRoute(
builder: (context) => Paymentdetail(),
>>>>>>> 04853921d96720bb30f1d860c2eeda0a17fa7f23
),
);
},
......
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