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
ba15a734
Commit
ba15a734
authored
Aug 19, 2020
by
Mobile : Art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
43f467db
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
383 deletions
+28
-383
lib/ui/booking/booking_detail.dart
+12
-367
lib/ui/booking/bookingflow.dart
+1
-1
lib/ui/booking/bookingform.dart
+4
-4
lib/ui/nearme/near_me_list.dart
+7
-7
lib/ui/reserve/reserve_date_time.dart
+2
-2
lib/ui/reserve/reserve_list.dart
+2
-2
No files found.
lib/ui/booking/booking_detail.dart
View file @
ba15a734
...
@@ -13,74 +13,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -13,74 +13,7 @@ class _BookingDetailState extends State<BookingDetail> {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
return
Scaffold
(
body:
_setupView
(),
body:
_setupView
(),
bottomNavigationBar:
Container
(
height:
SizeConfig
.
getHeight
(
100
),
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
child:
Stack
(
children:
<
Widget
>[
Positioned
(
top:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
20
),
child:
Container
(
// color: Colors.red,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
2.5
,
height:
SizeConfig
.
getHeight
(
45
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
),
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
child:
Text
(
'หยิบใส่รถเข็น'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
),
Positioned
(
top:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
20
),
child:
InkWell
(
onTap:
()
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
BookingForm
(),
),
);
},
child:
Container
(
// color: Colors.red,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
2.5
,
height:
SizeConfig
.
getHeight
(
45
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
232
,
166
,
180
,
1
),
),
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
child:
Text
(
'จองเลย'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
),
),
],
),
),
);
);
}
}
...
@@ -218,189 +151,20 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -218,189 +151,20 @@ class _BookingDetailState extends State<BookingDetail> {
],
],
),
),
SizedBox
(
SizedBox
(
height:
SizeConfig
.
getWidth
(
2
0
),
height:
SizeConfig
.
getWidth
(
1
0
),
),
),
Container
(
Container
(
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
),
),
),
child:
Card
(
child:
Column
(
children:
<
Widget
>[
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
child:
Row
(
children:
<
Widget
>[
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
11.0
),
child:
Image
.
network
(
'https://image.freepik.com/free-photo/girl-massage-spa-salon_110955-422.jpg'
,
fit:
BoxFit
.
cover
,
height:
SizeConfig
.
getHeight
(
100
),
width:
SizeConfig
.
getWidth
(
100
),
),
),
Column
(
children:
<
Widget
>[
Container
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'SPA By CLARINS'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black
,
fontSize:
SizeConfig
.
getFontSize
(
12
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w700
),
),
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
5
),
left:
SizeConfig
.
getPadding
(
0
),
bottom:
SizeConfig
.
getPadding
(
5
)),
),
Row
(
children:
<
Widget
>[
SizedBox
(
width:
16
,
),
ImageIcon
(
AssetImage
(
'assets/images/pin_drop.png'
),
color:
Colors
.
black54
,
size:
SizeConfig
.
getFontSize
(
16
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
4
),
),
Container
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'พญาไท กรุงเทพ (3.8 km)'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black87
,
fontSize:
SizeConfig
.
getFontSize
(
12
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
5
),
left:
SizeConfig
.
getPadding
(
0
),
bottom:
SizeConfig
.
getPadding
(
5
)),
),
],
),
Row
(
children:
<
Widget
>[
SizedBox
(
width:
SizeConfig
.
getWidth
(
24
),
),
Container
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'4.4'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black54
,
fontSize:
SizeConfig
.
getFontSize
(
12
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
5
),
left:
SizeConfig
.
getPadding
(
10
),
bottom:
SizeConfig
.
getPadding
(
5
)),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
14
),
),
ImageIcon
(
AssetImage
(
'assets/images/ic_star_active.png'
),
color:
Color
.
fromRGBO
(
255
,
207
,
7
,
1
),
size:
SizeConfig
.
getFontSize
(
16
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
2
),
),
ImageIcon
(
AssetImage
(
'assets/images/ic_star_active.png'
),
color:
Color
.
fromRGBO
(
255
,
207
,
7
,
1
),
size:
SizeConfig
.
getFontSize
(
16
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
2
),
),
ImageIcon
(
AssetImage
(
'assets/images/ic_star_active.png'
),
color:
Color
.
fromRGBO
(
255
,
207
,
7
,
1
),
size:
SizeConfig
.
getFontSize
(
16
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
2
),
),
ImageIcon
(
AssetImage
(
'assets/images/ic_star_active.png'
),
color:
Color
.
fromRGBO
(
255
,
207
,
7
,
1
),
size:
SizeConfig
.
getFontSize
(
16
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
2
),
),
ImageIcon
(
AssetImage
(
'assets/images/ic_star_unactive.png'
),
color:
Colors
.
grey
,
size:
SizeConfig
.
getFontSize
(
16
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
40
),
height:
SizeConfig
.
getWidth
(
30
),
),
],
),
],
),
],
),
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
8
),
),
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
/
1.5
,
height:
SizeConfig
.
getHeight
(
40
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
),
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
child:
Text
(
'ร้านแนะนำ'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
20
),
),
],
),
),
),
),
Container
(
Container
(
alignment:
Alignment
.
topLeft
,
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
2
4
),
top:
SizeConfig
.
getPadding
(
1
4
),
left:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
)),
right:
SizeConfig
.
getPadding
(
24
)),
child:
Text
(
child:
Text
(
...
@@ -430,7 +194,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -430,7 +194,7 @@ class _BookingDetailState extends State<BookingDetail> {
),
),
),
),
SizedBox
(
SizedBox
(
height:
SizeConfig
.
getHeight
(
1
6
),
height:
SizeConfig
.
getHeight
(
1
0
),
),
),
Row
(
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
...
@@ -465,7 +229,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -465,7 +229,7 @@ class _BookingDetailState extends State<BookingDetail> {
margin:
EdgeInsets
.
only
(
margin:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
24
),
// right: SizeConfig.getPadding(20),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
3
0
),
top:
SizeConfig
.
getPadding
(
1
0
),
bottom:
SizeConfig
.
getPadding
(
20
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
),
),
...
@@ -483,7 +247,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -483,7 +247,7 @@ class _BookingDetailState extends State<BookingDetail> {
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
35
),
left:
SizeConfig
.
getPadding
(
35
),
// right: SizeConfig.getPadding(20),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
4
0
),
top:
SizeConfig
.
getPadding
(
2
0
),
bottom:
SizeConfig
.
getPadding
(
20
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
),
),
...
@@ -501,7 +265,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -501,7 +265,7 @@ class _BookingDetailState extends State<BookingDetail> {
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
90
),
left:
SizeConfig
.
getPadding
(
90
),
// right: SizeConfig.getPadding(20),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
3
0
),
top:
SizeConfig
.
getPadding
(
1
0
),
bottom:
SizeConfig
.
getPadding
(
20
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
),
),
...
@@ -510,7 +274,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -510,7 +274,7 @@ class _BookingDetailState extends State<BookingDetail> {
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
90
),
left:
SizeConfig
.
getPadding
(
90
),
// right: SizeConfig.getPadding(20),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
6
0
),
top:
SizeConfig
.
getPadding
(
4
0
),
bottom:
SizeConfig
.
getPadding
(
20
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
child:
Text
(
child:
Text
(
...
@@ -526,7 +290,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -526,7 +290,7 @@ class _BookingDetailState extends State<BookingDetail> {
),
),
Container
(
Container
(
margin:
EdgeInsets
.
only
(
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
1
0
),
top:
SizeConfig
.
getPadding
(
2
0
),
left:
SizeConfig
.
getPadding
(
250
)),
left:
SizeConfig
.
getPadding
(
250
)),
// color: Colors.red,
// color: Colors.red,
...
@@ -534,7 +298,7 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -534,7 +298,7 @@ class _BookingDetailState extends State<BookingDetail> {
height:
SizeConfig
.
getHeight
(
45
),
height:
SizeConfig
.
getHeight
(
45
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
),
),
child:
Container
(
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
...
@@ -549,130 +313,11 @@ class _BookingDetailState extends State<BookingDetail> {
...
@@ -549,130 +313,11 @@ class _BookingDetailState extends State<BookingDetail> {
),
),
),
),
),
),
Container
(
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
55
),
left:
SizeConfig
.
getPadding
(
250
)),
// color: Colors.red,
width:
SizeConfig
.
getWidth
(
100
),
height:
SizeConfig
.
getHeight
(
45
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
232
,
166
,
180
,
1
),
),
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
child:
Text
(
'จองเลย'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
)
,
],
],
),
),
Container
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
top:
SizeConfig
.
getPadding
(
3
),
bottom:
SizeConfig
.
getPadding
(
8
)),
alignment:
Alignment
.
topLeft
,
child:
Text
(
'Thai Body Balance 60 นาที'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black
,
fontSize:
SizeConfig
.
getFontSize
(
26
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
Row
(
children:
<
Widget
>[
SizedBox
(
width:
SizeConfig
.
getWidth
(
24
),),
Container
(
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
)),
child:
Text
(
'60 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
16
),),
Container
(
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Colors
.
transparent
,
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
)),
child:
Text
(
'90 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
16
),),
Container
(
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Colors
.
transparent
,
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
)),
child:
Text
(
'120 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
grey
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
],
),
SizedBox
(
SizedBox
(
height:
SizeConfig
.
getHeight
(
30
),
height:
SizeConfig
.
getHeight
(
30
),
...
...
lib/ui/booking/bookingflow.dart
View file @
ba15a734
...
@@ -15,7 +15,7 @@ class _BookingFlowState extends State<BookingFlow> {
...
@@ -15,7 +15,7 @@ class _BookingFlowState extends State<BookingFlow> {
body:
_setupView
(),
body:
_setupView
(),
bottomNavigationBar:
Container
(
bottomNavigationBar:
Container
(
height:
SizeConfig
.
getHeight
(
100
),
height:
SizeConfig
.
getHeight
(
100
),
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Positioned
(
...
...
lib/ui/booking/bookingform.dart
View file @
ba15a734
...
@@ -15,12 +15,12 @@ class _BookingFormState extends State<BookingForm> {
...
@@ -15,12 +15,12 @@ class _BookingFormState extends State<BookingForm> {
return
Scaffold
(
return
Scaffold
(
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
'จอง'
),
title:
Text
(
'จอง'
),
backgroundColor:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
),
),
body:
_setupView
(),
body:
_setupView
(),
bottomNavigationBar:
Container
(
bottomNavigationBar:
Container
(
height:
SizeConfig
.
getHeight
(
100
),
height:
SizeConfig
.
getHeight
(
100
),
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Positioned
(
...
@@ -103,7 +103,7 @@ class _BookingFormState extends State<BookingForm> {
...
@@ -103,7 +103,7 @@ class _BookingFormState extends State<BookingForm> {
'ข้อมูลแพ็คเกจที่คุณจอง'
,
'ข้อมูลแพ็คเกจที่คุณจอง'
,
textAlign:
TextAlign
.
left
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
style:
TextStyle
(
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
...
@@ -573,7 +573,7 @@ class _BookingFormState extends State<BookingForm> {
...
@@ -573,7 +573,7 @@ class _BookingFormState extends State<BookingForm> {
width:
MediaQuery
.
of
(
context
).
size
.
width
,
width:
MediaQuery
.
of
(
context
).
size
.
width
,
height:
SizeConfig
.
getHeight
(
100
),
height:
SizeConfig
.
getHeight
(
100
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
),
),
child:
Container
(
child:
Container
(
alignment:
Alignment
.
topLeft
,
alignment:
Alignment
.
topLeft
,
...
...
lib/ui/nearme/near_me_list.dart
View file @
ba15a734
...
@@ -30,7 +30,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -30,7 +30,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
return
Scaffold
(
appBar:
AppBar
(
appBar:
AppBar
(
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
elevation:
0
,
elevation:
0
,
centerTitle:
true
,
centerTitle:
true
,
title:
Text
(
title:
Text
(
...
@@ -51,7 +51,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -51,7 +51,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
children:
<
Widget
>[
children:
<
Widget
>[
Container
(
Container
(
height:
SizeConfig
.
getWidth
(
110
),
height:
SizeConfig
.
getWidth
(
110
),
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
child:
Container
(
child:
Container
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
)),
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
)),
alignment:
Alignment
.
topLeft
,
alignment:
Alignment
.
topLeft
,
...
@@ -69,7 +69,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -69,7 +69,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
shape:
StadiumBorder
(
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
side:
BorderSide
(
color:
Colors
.
white
),
),
),
...
@@ -89,7 +89,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -89,7 +89,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
shape:
StadiumBorder
(
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
side:
BorderSide
(
color:
Colors
.
white
),
),
),
...
@@ -106,7 +106,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -106,7 +106,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
shape:
StadiumBorder
(
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
side:
BorderSide
(
color:
Colors
.
white
),
),
),
...
@@ -123,7 +123,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -123,7 +123,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
shape:
StadiumBorder
(
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
side:
BorderSide
(
color:
Colors
.
white
),
),
),
...
@@ -140,7 +140,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
...
@@ -140,7 +140,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
backgroundColor:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
shape:
StadiumBorder
(
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
side:
BorderSide
(
color:
Colors
.
white
),
),
),
...
...
lib/ui/reserve/reserve_date_time.dart
View file @
ba15a734
...
@@ -19,7 +19,7 @@ class _ReserveDateTimeState extends State<ReserveDateTime> {
...
@@ -19,7 +19,7 @@ class _ReserveDateTimeState extends State<ReserveDateTime> {
body:
_setupView
(),
body:
_setupView
(),
bottomNavigationBar:
Container
(
bottomNavigationBar:
Container
(
height:
SizeConfig
.
getHeight
(
100
),
height:
SizeConfig
.
getHeight
(
100
),
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Positioned
(
...
@@ -125,7 +125,7 @@ class _ReserveDateTimeState extends State<ReserveDateTime> {
...
@@ -125,7 +125,7 @@ class _ReserveDateTimeState extends State<ReserveDateTime> {
'คุณกำลังจอง'
,
'คุณกำลังจอง'
,
textAlign:
TextAlign
.
left
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
style:
TextStyle
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
...
...
lib/ui/reserve/reserve_list.dart
View file @
ba15a734
...
@@ -17,7 +17,7 @@ class _ReserveListState extends State<ReserveList> {
...
@@ -17,7 +17,7 @@ class _ReserveListState extends State<ReserveList> {
body:
_setupView
(),
body:
_setupView
(),
bottomNavigationBar:
Container
(
bottomNavigationBar:
Container
(
height:
SizeConfig
.
getHeight
(
100
),
height:
SizeConfig
.
getHeight
(
100
),
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Positioned
(
...
@@ -123,7 +123,7 @@ class _ReserveListState extends State<ReserveList> {
...
@@ -123,7 +123,7 @@ class _ReserveListState extends State<ReserveList> {
'คุณกำลังจอง'
,
'คุณกำลังจอง'
,
textAlign:
TextAlign
.
left
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
style:
TextStyle
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
fontWeight:
FontWeight
.
w500
),
...
...
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