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
6f0cd9b4
Commit
6f0cd9b4
authored
Jul 13, 2020
by
Mobile : Ball (Apprentice)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
facc6447
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
195 additions
and
79 deletions
+195
-79
lib/ui/favorite/favorite.dart
+193
-76
lib/ui/shop/shop_Nearby_places.dart
+2
-3
No files found.
lib/ui/favorite/favorite.dart
View file @
6f0cd9b4
...
...
@@ -20,7 +20,7 @@ class _FavoriteState extends State<Favorite> {
body:
_setupView
(),
bottomNavigationBar:
Container
(
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
height:
SizeConfig
.
get
Width
(
120
),
height:
SizeConfig
.
get
Height
(
120
),
child:
Column
(
children:
<
Widget
>[
Container
(
...
...
@@ -87,6 +87,10 @@ class _FavoriteState extends State<Favorite> {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
list1
(),
Divider
(
color:
Colors
.
black
,
height:
40
,
),
list2
(),
],
),
...
...
@@ -98,35 +102,31 @@ class _FavoriteState extends State<Favorite> {
Widget
list1
()
{
return
Container
(
c
hild:
Column
(
children:
<
Widget
>[
Row
(
c
olor:
Colors
.
red
,
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
start
,
children:
<
Widget
>[
Image
.
asset
(
'assets/images/no-image.png'
,
height:
SizeConfig
.
getHeight
(
80
),
width:
SizeConfig
.
getWidth
(
80
),
),
Padding
(
padding:
const
EdgeInsets
.
only
(
left:
8
),
child:
Container
(
padding:
const
EdgeInsets
.
only
(
left:
10
),
child:
Image
.
asset
(
'assets/images/demo_img.png'
,
width:
SizeConfig
.
getWidth
(
110
),
height:
SizeConfig
.
getHeight
(
150
),
fit:
BoxFit
.
fitWidth
,
),
),
Expanded
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Row
(
Container
(
color:
Colors
.
blue
,
child:
Row
(
children:
<
Widget
>[
Text
(
'Ivory Relax and Spa'
,
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
16
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
bold
,
color:
Colors
.
black
,
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
60
),
),
Spacer
(),
Checkbox
(
checkColor:
Color
(
0xFFEEAFB7
),
activeColor:
Colors
.
white
,
...
...
@@ -139,35 +139,25 @@ class _FavoriteState extends State<Favorite> {
}),
],
),
Text
(
'นวดแผนไทย'
,
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
16
),
fontFamily:
"SF_Pro_Text"
,
color:
Colors
.
black
,
),
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
10
),
Container
(
color:
Colors
.
white
,
child:
Text
(
'นวดเเผนไทย'
),
),
Row
(
children:
<
Widget
>[
Row
(
Container
(
color:
Colors
.
yellow
,
child:
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"
,
),
height:
20
,
width:
20
,
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
9
5
),
width:
SizeConfig
.
getWidth
(
5
),
),
Text
(
'90 นาที'
),
Spacer
(),
Icon
(
Icons
.
local_offer
,
color:
Color
(
0xFFEEAFB7
),
...
...
@@ -183,16 +173,9 @@ class _FavoriteState extends State<Favorite> {
),
],
),
],
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
10
),
),
Row
(
children:
<
Widget
>[
Container
(
child:
Padding
(
padding:
const
EdgeInsets
.
only
(
left:
10
),
color:
Colors
.
orangeAccent
,
child:
Row
(
children:
<
Widget
>[
SizedBox
(
...
...
@@ -203,7 +186,7 @@ class _FavoriteState extends State<Favorite> {
padding:
EdgeInsets
.
only
(
right:
0
),
onPressed:
()
{
setState
(()
{
a
=
a
-
1
;
b
=
b
-
1
;
});
},
),
...
...
@@ -211,12 +194,7 @@ class _FavoriteState extends State<Favorite> {
Padding
(
padding:
const
EdgeInsets
.
only
(
right:
8
,
left:
8
),
child:
Text
(
'
$a
'
,
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
12
),
),
),
child:
Text
(
'
$b
'
),
),
SizedBox
(
width:
SizeConfig
.
getPadding
(
20
),
...
...
@@ -226,18 +204,12 @@ class _FavoriteState extends State<Favorite> {
padding:
EdgeInsets
.
only
(
right:
0
),
onPressed:
()
{
setState
(()
{
a
=
a
+
1
;
b
=
b
+
1
;
});
},
),
),
],
),
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
85
),
),
Spacer
(),
Text
(
'฿1,200.00'
,
style:
TextStyle
(
...
...
@@ -249,17 +221,9 @@ class _FavoriteState extends State<Favorite> {
),
],
),
],
),
),
),
],
),
Divider
(
color:
Colors
.
black
,
height:
40
,
indent:
8
,
endIndent:
20
,
),
],
),
...
...
@@ -361,8 +325,6 @@ class _FavoriteState extends State<Favorite> {
Row
(
children:
<
Widget
>[
Container
(
child:
Padding
(
padding:
const
EdgeInsets
.
only
(
left:
10
),
child:
Row
(
children:
<
Widget
>[
SizedBox
(
...
...
@@ -399,7 +361,6 @@ class _FavoriteState extends State<Favorite> {
],
),
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
85
),
),
...
...
@@ -511,3 +472,159 @@ class _FavoriteState extends State<Favorite> {
);
}
}
//Row(
//crossAxisAlignment: CrossAxisAlignment.start,
//children: <Widget>[
//Image.asset(
//'assets/images/demo_img.png',
//height: SizeConfig.getHeight(160),
//width: SizeConfig.getWidth(100),
//fit: BoxFit.cover,
//),
//Container(
//color: Colors.yellow,
//padding: EdgeInsets.only(
//left: SizeConfig.getPadding(7),
//right: SizeConfig.getPadding(10)
//),
//child: Column(
//children: <Widget>[
//Container(
//color: Colors.blue,
//child: Row(
//children: <Widget>[
//Text(
//'Ivory Relax and Spa',
//style: TextStyle(
//fontSize: SizeConfig.getFontSize(16),
//fontFamily: "SF_Pro_Text",
//fontWeight: FontWeight.bold,
//color: Colors.black,
//),
//),
//
//Checkbox(
//checkColor: Color(0xFFEEAFB7),
//activeColor: Colors.white,
//value: checkBoxValue,
//onChanged: (bool value) {
//setState(() {
//print(value);
//checkBoxValue = value;
//});
//}),
//],
//),
//),
//Text(
//'นวดแผนไทย',
//style: TextStyle(
//fontSize: SizeConfig.getFontSize(16),
//fontFamily: "SF_Pro_Text",
//color: Colors.black,
//),
//),
//SizedBox(
//height: SizeConfig.getHeight(10),
//),
//Row(
//children: <Widget>[
//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",
//),
//),
//
//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),
//),
//),
//],
//),
//],
//),
//SizedBox(
//height: SizeConfig.getHeight(10),
//),
//Row(
//children: <Widget>[
//Container(
//child: Padding(
//padding: const EdgeInsets.only(left: 10),
//child: Row(
//children: <Widget>[
//SizedBox(
//width: SizeConfig.getPadding(20),
//height: SizeConfig.getPadding(20),
//child: RaisedButton(
//child: Text('-'),
//padding: EdgeInsets.only(right: 0),
//onPressed: () {
//setState(() {
//a = a - 1;
//});
//},
//),
//),
//Padding(
//padding:
//const EdgeInsets.only(right: 8, left: 8),
//child: Text(
//'$a',
//style: TextStyle(
//fontSize: SizeConfig.getFontSize(12),
//),
//),
//),
//SizedBox(
//width: SizeConfig.getPadding(20),
//height: SizeConfig.getPadding(20),
//child: RaisedButton(
//child: Text('+'),
//padding: EdgeInsets.only(right: 0),
//onPressed: () {
//setState(() {
//a = a + 1;
//});
//},
//),
//),
//],
//),
//),
//),
//
//Text(
//'฿1,200.00',
//style: TextStyle(
//fontSize: SizeConfig.getFontSize(20),
//color: Color(0xFFFD2956),
//fontFamily: "SF_Pro_Text",
//fontWeight: FontWeight.bold,
//),
//),
//],
//),
//],
//),
//),
//],
//),
lib/ui/shop/shop_Nearby_places.dart
View file @
6f0cd9b4
...
...
@@ -25,6 +25,7 @@ class _ShopNearbyPlacesPageState extends State<ShopNearbyPlacesPage> {
top:
SizeConfig
.
getPadding
(
15
),
bottom:
SizeConfig
.
getPadding
(
10
),
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
)
),
child:
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
...
...
@@ -36,9 +37,7 @@ class _ShopNearbyPlacesPageState extends State<ShopNearbyPlacesPage> {
fontSize:
SizeConfig
.
getFontSize
(
14
),
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
175
),
),
Spacer
(),
Text
(
'ดูทั้งหมด'
,
style:
TextStyle
(
...
...
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