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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
28 deletions
+58
-28
lib/ui/my_order_status/my_order_status.dart
+58
-28
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
{
...
@@ -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,13 +100,18 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -96,13 +100,18 @@ 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
(
right:
SizeConfig
.
getPadding
(
10
),
),
),
// color: Colors.yellow,
child:
Row
(
children:
<
Widget
>[
Image
.
asset
(
Image
.
asset
(
'assets/images/ic_star_active.png'
,
'assets/images/ic_star_active.png'
,
width:
18
,
width:
SizeConfig
.
getWidth
(
18
)
,
height:
18
,
height:
SizeConfig
.
getHeight
(
18
)
,
),
),
Text
(
'4.9'
),
Text
(
'4.9'
),
],
],
...
@@ -111,12 +120,18 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -111,12 +120,18 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
],
],
),
),
),
),
],
),
),
Container
(
Container
(
// color: Colors.yellow,
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
)
),
right:
SizeConfig
.
getPadding
(
24
),
alignment:
Alignment
.
topLeft
,
)
,
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,18 +172,20 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -156,18 +172,20 @@ 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
),
),
),
child:
Row
(
children:
<
Widget
>[
Image
.
asset
(
Image
.
asset
(
'assets/images/clock.png'
,
'assets/images/clock.png'
,
width:
SizeConfig
.
getWidth
(
20
),
width:
SizeConfig
.
getWidth
(
20
),
height:
SizeConfig
.
getWidth
(
20
),
height:
SizeConfig
.
getWidth
(
20
),
),
),
SizedBox
(
SizedBox
(
width:
SizeConfig
.
getWidth
(
10
),
width:
SizeConfig
.
getWidth
(
6
),
),
),
Text
(
Text
(
'90 นาที'
,
'90 นาที'
,
...
@@ -178,9 +196,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -178,9 +196,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
SizedBox
(
Spacer
(),
width:
SizeConfig
.
getWidth
(
30
),
),
Image
.
asset
(
Image
.
asset
(
'assets/images/sell.png'
,
'assets/images/sell.png'
,
width:
SizeConfig
.
getWidth
(
20
),
width:
SizeConfig
.
getWidth
(
20
),
...
@@ -213,6 +229,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -213,6 +229,7 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
],
],
),
),
),
InkWell
(
InkWell
(
onTap:
()
{
onTap:
()
{
// Navigator.push(
// Navigator.push(
...
@@ -346,25 +363,40 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
...
@@ -346,25 +363,40 @@ class _MyOrderStatusState extends State<MyOrderStatus> {
),
),
),
),
),
),
Positioned
(
Container
(
// color: Colors.red,
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
150
),
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'
,
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
10
),),
Text
(
'ยังไม่ได้ใช้งาน'
,
style:
TextStyle
(
color:
Color
(
0xFFEEAFB7
),
color:
Color
(
0xFFEEAFB7
),
fontSize:
SizeConfig
.
getFontSize
(
12
),
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