Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
feelver
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2F-ART
feelver
Commits
04853921
Commit
04853921
authored
Jul 14, 2020
by
Mobile : Ball (Apprentice)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
29ccd50a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
116 additions
and
86 deletions
+116
-86
lib/ui/my_order_status/my_order_status.dart
+116
-86
No files found.
lib/ui/my_order_status/my_order_status.dart
View file @
04853921
import
'package:feelverapp/ui/home/home.dart'
;
import
'package:feelverapp/ui/home/home.dart'
;
import
'package:feelverapp/ui/menu/menu.dart'
;
import
'package:feelverapp/ui/menu/menu.dart'
;
import
'package:feelverapp/util/SizeConfig.dart'
;
import
'package:feelverapp/util/SizeConfig.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
class
MyOrderStatus
extends
StatefulWidget
{
class
MyOrderStatus
extends
StatefulWidget
{
...
@@ -20,7 +21,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -20,7 +21,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
_setupView
()
{
_setupView
()
{
return
Column
(
return
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
header
(),
header
(),
_getlist
(),
_getlist
(),
],
],
);
);
...
@@ -55,6 +56,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -55,6 +56,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
child:
Column
(
child:
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
Container
(
Container
(
// color: Colors.red,
height:
SizeConfig
.
getHeight
(
280
),
height:
SizeConfig
.
getHeight
(
280
),
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
...
@@ -82,9 +84,11 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -82,9 +84,11 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
height:
SizeConfig
.
getWidth
(
50
),
height:
SizeConfig
.
getWidth
(
50
),
),
),
),
),
Positioned
(
Container
(
left:
SizeConfig
.
getPadding
(
75
),
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
190
),
top:
SizeConfig
.
getPadding
(
188
),
left:
SizeConfig
.
getPadding
(
70
)),
// color: Colors.orange,
child:
Row
(
child:
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
Text
(
Text
(
...
@@ -96,15 +100,23 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -96,15 +100,23 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w700
),
fontWeight:
FontWeight
.
w700
),
),
),
SizedBox
(
Spacer
(),
width:
SizeConfig
.
getWidth
(
75
),
Container
(
),
margin:
EdgeInsets
.
only
(
Image
.
asset
(
right:
SizeConfig
.
getPadding
(
10
),
'assets/images/ic_star_active.png'
,
),
width:
18
,
// color: Colors.yellow,
height:
18
,
child:
Row
(
children:
<
Widget
>[
Image
.
asset
(
'assets/images/ic_star_active.png'
,
width:
SizeConfig
.
getWidth
(
18
),
height:
SizeConfig
.
getHeight
(
18
),
),
Text
(
'4.9'
),
],
),
),
),
Text
(
'4.9'
),
],
],
),
),
),
),
...
@@ -112,11 +124,14 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -112,11 +124,14 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
),
),
Container
(
Container
(
padding:
EdgeInsets
.
only
(
// color: Colors.yellow,
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
)),
alignment:
Alignment
.
topLeft
,
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
),
),
child:
Column
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
children:
<
Widget
>[
Text
(
Text
(
'วันที่สั่งซื้อ : 23.02.2020 08:57'
,
'วันที่สั่งซื้อ : 23.02.2020 08:57'
,
...
@@ -140,6 +155,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -140,6 +155,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
),
),
Container
(
Container
(
// color: Colors.green,
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
),
top:
SizeConfig
.
getPadding
(
10
),
left:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
24
),
...
@@ -156,62 +172,63 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -156,62 +172,63 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
fontWeight:
FontWeight
.
w700
),
fontWeight:
FontWeight
.
w700
),
),
),
),
),
Row
(
Container
(
children:
<
Widget
>[
// color: Colors.blue,
SizedBox
(
padding:
EdgeInsets
.
only
(
width:
SizeConfig
.
getWidth
(
20
),
left:
SizeConfig
.
getPadding
(
24
),
),
),
Image
.
asset
(
child:
Row
(
'assets/images/clock.png'
,
children:
<
Widget
>[
width:
SizeConfig
.
getWidth
(
20
),
Image
.
asset
(
height:
SizeConfig
.
getWidth
(
20
),
'assets/images/clock.png'
,
),
width:
SizeConfig
.
getWidth
(
20
),
SizedBox
(
height:
SizeConfig
.
getWidth
(
20
),
width:
SizeConfig
.
getWidth
(
10
),
),
),
SizedBox
(
Text
(
width:
SizeConfig
.
getWidth
(
6
),
'90 นาที'
,
),
textAlign:
TextAlign
.
left
,
Text
(
style:
TextStyle
(
'90 นาที'
,
color:
Colors
.
black87
,
textAlign:
TextAlign
.
left
,
fontSize:
SizeConfig
.
getFontSize
(
12
),
style:
TextStyle
(
fontFamily:
"SF_Pro_Text"
,
color:
Colors
.
black87
,
fontWeight:
FontWeight
.
w500
),
fontSize:
SizeConfig
.
getFontSize
(
12
),
),
fontFamily:
"SF_Pro_Text"
,
SizedBox
(
fontWeight:
FontWeight
.
w500
),
width:
SizeConfig
.
getWidth
(
30
),
),
),
Spacer
(),
Image
.
asset
(
Image
.
asset
(
'assets/images/sell.png'
,
'assets/images/sell.png'
,
width:
SizeConfig
.
getWidth
(
20
),
width:
SizeConfig
.
getWidth
(
20
),
height:
SizeConfig
.
getWidth
(
20
),
height:
SizeConfig
.
getWidth
(
20
),
),
),
SizedBox
(
SizedBox
(
width:
SizeConfig
.
getWidth
(
5
),
width:
SizeConfig
.
getWidth
(
5
),
),
),
Text
(
Text
(
'฿1,599.00 '
,
'฿1,599.00 '
,
textAlign:
TextAlign
.
left
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
style:
TextStyle
(
color:
Color
.
fromRGBO
(
238
,
175
,
183
,
1
),
color:
Color
.
fromRGBO
(
238
,
175
,
183
,
1
),
fontSize:
SizeConfig
.
getFontSize
(
12
),
fontSize:
SizeConfig
.
getFontSize
(
12
),
decoration:
TextDecoration
.
lineThrough
,
decoration:
TextDecoration
.
lineThrough
,
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
SizedBox
(
SizedBox
(
width:
SizeConfig
.
getWidth
(
5
),
width:
SizeConfig
.
getWidth
(
5
),
),
),
Text
(
Text
(
'฿1,599.00 '
,
'฿1,599.00 '
,
textAlign:
TextAlign
.
left
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
style:
TextStyle
(
color:
Color
.
fromRGBO
(
253
,
41
,
86
,
1
),
color:
Color
.
fromRGBO
(
253
,
41
,
86
,
1
),
fontSize:
SizeConfig
.
getFontSize
(
22
),
fontSize:
SizeConfig
.
getFontSize
(
22
),
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w700
),
fontWeight:
FontWeight
.
w700
),
),
),
],
],
),
),
),
InkWell
(
InkWell
(
onTap:
()
{
onTap:
()
{
...
@@ -271,7 +288,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -271,7 +288,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
Positioned
(
Positioned
(
top:
SizeConfig
.
getPadding
(
50
),
top:
SizeConfig
.
getPadding
(
50
),
left:
left:
SizeConfig
.
getPadding
(
MediaQuery
.
of
(
context
).
size
.
width
/
3.5
),
SizeConfig
.
getPadding
(
MediaQuery
.
of
(
context
).
size
.
width
/
3.5
),
child:
Container
(
child:
Container
(
alignment:
Alignment
.
topCenter
,
alignment:
Alignment
.
topCenter
,
child:
Image
.
asset
(
child:
Image
.
asset
(
...
@@ -346,25 +363,40 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -346,25 +363,40 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
),
),
),
),
Positioned
(
Container
(
top:
SizeConfig
.
getPadding
(
150
),
// color: Colors.red,
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
150
),
),
child:
Container
(
child:
Container
(
padding:
EdgeInsets
.
only
(
left:
20
),
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
15
),
right:
SizeConfig
.
getPadding
(
15
),
),
child:
Row
(
child:
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
Column
(
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
Image
.
asset
(
'assets/images/ic_NotInUse.png'
),
Image
.
asset
(
Text
(
'ยังไม่ได้ใช้งาน'
,
style:
TextStyle
(
'assets/images/ic_NotInUse.png'
,
color:
Color
(
0xFFEEAFB7
),
),
fontSize:
SizeConfig
.
getFontSize
(
12
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
10
),),
),),
Text
(
'ยังไม่ได้ใช้งาน'
,
style:
TextStyle
(
color:
Color
(
0xFFEEAFB7
),
fontSize:
SizeConfig
.
getFontSize
(
12
),
),
),
],
],
),
),
S
izedBox
(
width:
SizeConfig
.
getWidth
(
45
),
),
S
pacer
(
),
Column
(
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
Image
.
asset
(
'assets/images/ic_check.png'
,),
Image
.
asset
(
'assets/images/ic_check.png'
,
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
10
),),
Text
(
Text
(
'บริการที่พร้อมใช้'
,
'บริการที่พร้อมใช้'
,
style:
TextStyle
(
style:
TextStyle
(
...
@@ -374,14 +406,13 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -374,14 +406,13 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
],
],
),
),
S
izedBox
(
width:
SizeConfig
.
getWidth
(
45
),
),
S
pacer
(
),
Column
(
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
Image
.
asset
(
Image
.
asset
(
'assets/images/ic_like.png'
,
'assets/images/ic_like.png'
,
width:
25
,
height:
25
,
),
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
10
),),
Text
(
Text
(
'บริการที่เเล้วเสร็จ'
,
'บริการที่เเล้วเสร็จ'
,
style:
TextStyle
(
style:
TextStyle
(
...
@@ -399,5 +430,4 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -399,5 +430,4 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
);
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment