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
85b4b8fa
Commit
85b4b8fa
authored
Jul 17, 2020
by
art
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
11909f6d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
35 deletions
+53
-35
lib/main.dart
+5
-8
lib/ui/booking/booking_detail.dart
+0
-0
lib/ui/login/login.dart
+39
-18
lib/ui/shop/shop.dart
+9
-9
No files found.
lib/main.dart
View file @
85b4b8fa
import
'package:feelverapp/ui/nearme/near_me_list.dart'
;
import
'package:feelverapp/ui/shop/shop_main.dart'
;
import
'package:flutter/material.dart'
;
import
'ui/splashscreen/splash_screen_page.dart'
;
void
main
(
)
=>
runApp
(
MyApp
());
...
...
@@ -14,13 +16,8 @@ class MyApp extends StatelessWidget {
theme:
ThemeData
(
primarySwatch:
Colors
.
blue
,
),
// home: AccountSettingPage(),
// home: OtherMenuPage(),
//home: ShopNearbyPlacesPage(),
// home: service_tab(),
home:
SplashScreenPage
(),
home:
MainShop
(),
// home: SplashScreenPage(),
);
}
}
lib/ui/booking/booking_detail.dart
0 → 100644
View file @
85b4b8fa
This diff is collapsed.
Click to expand it.
lib/ui/login/login.dart
View file @
85b4b8fa
...
...
@@ -45,7 +45,7 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
),
),
SizedBox
(
height:
SizeConfig
.
get
Width
(
24
),
height:
SizeConfig
.
get
Height
(
24
),
),
TabBar
(
indicatorColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
...
...
@@ -65,12 +65,16 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
Tab
(
child:
Text
(
'เบอร์โทร'
,
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
16
)),
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
16
),
),
),
),
],
),
SizedBox
(
height:
SizeConfig
.
getWidth
(
30
)),
SizedBox
(
height:
SizeConfig
.
getHeight
(
30
),
),
_formLogin
(),
],
),
...
...
@@ -84,7 +88,9 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
children:
<
Widget
>[
Container
(
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
30
)),
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
30
),
),
child:
Text
(
'อีเมล์'
,
style:
TextStyle
(
...
...
@@ -125,7 +131,9 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
),
Container
(
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
30
)),
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
30
),
),
child:
Text
(
'รหัสผ่าน'
,
style:
TextStyle
(
...
...
@@ -141,8 +149,9 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
horizontal:
SizeConfig
.
getPadding
(
24
)),
child:
Card
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
SizeConfig
.
getPadding
(
50.0
)),
borderRadius:
BorderRadius
.
circular
(
SizeConfig
.
getPadding
(
50.0
),
),
),
child:
TextFormField
(
// controller: loginBloc.passCtrl,
...
...
@@ -161,11 +170,13 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
),
),
SizedBox
(
height:
SizeConfig
.
get
Width
(
24
),
height:
SizeConfig
.
get
Height
(
24
),
),
Container
(
alignment:
Alignment
.
topRight
,
padding:
EdgeInsets
.
only
(
right:
SizeConfig
.
getPadding
(
30
)),
padding:
EdgeInsets
.
only
(
right:
SizeConfig
.
getPadding
(
30
),
),
child:
Text
(
'ลืมรหัสผ่าน'
,
style:
TextStyle
(
...
...
@@ -178,7 +189,7 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
_submitLoginButton
(),
_policyText
(),
SizedBox
(
height:
SizeConfig
.
get
Width
(
20
),
height:
SizeConfig
.
get
Height
(
20
),
),
_facebookLoginButton
(),
],
...
...
@@ -193,15 +204,19 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
vertical:
SizeConfig
.
getPadding
(
20.0
),
horizontal:
SizeConfig
.
getPadding
(
32
)),
child:
Container
(
height:
SizeConfig
.
get
Width
(
55
),
height:
SizeConfig
.
get
Height
(
55
),
child:
CupertinoButton
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
padding:
EdgeInsets
.
all
(
0
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
50
)),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
50
),
),
onPressed:
()
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
HomePage
()),
MaterialPageRoute
(
builder:
(
context
)
=>
HomePage
(),
),
);
// if (loginBloc.formKey.currentState.validate()) {
// loginBloc.getLogin();
...
...
@@ -222,13 +237,16 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
return
Padding
(
padding:
EdgeInsets
.
symmetric
(
vertical:
SizeConfig
.
getPadding
(
16.0
),
horizontal:
SizeConfig
.
getPadding
(
32
)),
horizontal:
SizeConfig
.
getPadding
(
32
),
),
child:
Container
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
SizeConfig
.
getPadding
(
50
)),
borderRadius:
BorderRadius
.
circular
(
SizeConfig
.
getPadding
(
50
),
),
color:
Color
(
0xff3b5998
),
),
height:
SizeConfig
.
get
Width
(
55
),
height:
SizeConfig
.
get
Height
(
55
),
child:
CupertinoButton
(
color:
Color
(
0xff3b5998
),
padding:
EdgeInsets
.
all
(
0
),
...
...
@@ -239,7 +257,8 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
children:
<
Widget
>[
Padding
(
padding:
EdgeInsets
.
symmetric
(
horizontal:
SizeConfig
.
getPadding
(
8.0
)),
horizontal:
SizeConfig
.
getPadding
(
8.0
),
),
child:
ImageIcon
(
AssetImage
(
'assets/images/facebook-icon.png'
),
size:
20
,
...
...
@@ -247,7 +266,9 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
),
Text
(
'Login with Facebook'
,
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
12
)),
style:
TextStyle
(
fontSize:
SizeConfig
.
getFontSize
(
12
),
),
textAlign:
TextAlign
.
center
,
),
],
...
...
lib/ui/shop/shop.dart
View file @
85b4b8fa
...
...
@@ -251,7 +251,7 @@ class _ShopState extends State<Shop> {
children:
<
Widget
>[
Container
(
color:
Color
.
fromRGBO
(
69
,
85
,
79
,
1
),
height:
SizeConfig
.
getHeight
(
27
0
),
height:
SizeConfig
.
getHeight
(
35
0
),
width:
MediaQuery
.
of
(
context
).
size
.
width
,
),
...
...
@@ -261,7 +261,7 @@ class _ShopState extends State<Shop> {
alignment:
Alignment
.
topCenter
,
child:
Image
.
network
(
'https://image.freepik.com/free-photo/girl-massage-spa-salon_110955-422.jpg'
,
height:
SizeConfig
.
getHeight
(
3
0
0
),
height:
SizeConfig
.
getHeight
(
3
5
0
),
width:
MediaQuery
.
of
(
context
).
size
.
width
,
fit:
BoxFit
.
cover
,
),
...
...
@@ -269,14 +269,14 @@ class _ShopState extends State<Shop> {
),
Positioned
(
top:
SizeConfig
.
getPadding
(
0
),
child:
Container
(
height:
SizeConfig
.
getHeight
(
3
0
0
),
height:
SizeConfig
.
getHeight
(
3
5
0
),
width:
MediaQuery
.
of
(
context
).
size
.
width
,
alignment:
Alignment
.
topCenter
,
color:
Colors
.
deepOrangeAccent
.
withOpacity
(
0.4
)
),
),
Positioned
(
top:
SizeConfig
.
getPadding
(
1
5
0
),
top:
SizeConfig
.
getPadding
(
1
7
0
),
right:
SizeConfig
.
getPadding
(
40
),
child:
Container
(
child:
Text
(
...
...
@@ -286,8 +286,8 @@ class _ShopState extends State<Shop> {
),
),
Positioned
(
top:
SizeConfig
.
getPadding
(
1
50
),
left:
SizeConfig
.
getPadding
(
2
0
),
top:
SizeConfig
.
getPadding
(
1
72
),
left:
SizeConfig
.
getPadding
(
1
0
),
child:
InkWell
(
// onTap: () {
// Navigator.push(
...
...
@@ -306,8 +306,8 @@ class _ShopState extends State<Shop> {
),
),
Positioned
(
top:
SizeConfig
.
getPadding
(
2
0
0
),
left:
SizeConfig
.
getPadding
(
10
0
),
top:
SizeConfig
.
getPadding
(
2
2
0
),
left:
SizeConfig
.
getPadding
(
9
0
),
child:
Container
(
padding:
EdgeInsets
.
only
(
left:
5
),
child:
Row
(
...
...
@@ -316,7 +316,7 @@ class _ShopState extends State<Shop> {
children:
<
Widget
>[
SizedBox
(
width:
90.0
,
height:
3
0
.0
,
height:
3
5
.0
,
child:
FlatButton
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
textColor:
Colors
.
white
,
...
...
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