Skip to content

Commit b78cc58

Browse files
committed
merge the group 01 and change the image path
2 parents e0d132a + cfdf4ec commit b78cc58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+57
-55
lines changed

assets/images/main/ic_launcher.png

-147 KB
Binary file not shown.
-419 KB
Binary file not shown.

images/camera/ic_launcher.png

157 KB

images/chat/ic_launcher.png

157 KB

images/feed/city.png

113 KB

images/feed/feed11-city1.png

673 KB

images/feed/feed11-city2.png

545 KB

images/feed/feed11-header.png

23 KB

images/feed/feed12_header.png

13.8 KB

images/feed/feed12_pic1.png

472 KB

images/feed/feed12_pic2.png

463 KB

images/feed/feed12_plus.png

5.85 KB

images/feed/feed13_header1.png

17.3 KB

images/feed/feed13_header2.png

13.7 KB

images/feed/feed13_header3.png

14.7 KB

images/feed/feed13_pic1.png

55 KB

images/feed/feed13_pic2.png

49 KB

images/feed/feed13_pic3.png

65.1 KB

images/feed/feed13_pic4.png

44.1 KB

images/feed/feed1_avatar1.png

23.8 KB

images/feed/feed1_avatar2.png

20.7 KB

images/feed/feed2_avatar2.png

24.2 KB

images/feed/feed2_image1.png

326 KB

images/feed/feed2_image2.png

419 KB

images/feed/feed_add.png

2.78 KB

images/feed/feed_more.png

5.24 KB

images/feed/feed_search.png

5.52 KB

images/feed/heart.png

4.41 KB

images/feed/ic_launcher.png

157 KB

images/feed/landscape.png

151 KB

images/feed/menonglass.png

126 KB

images/feed/night.png

74.8 KB

images/feed/shop_river.png

251 KB

images/feed/white_background.png

98.3 KB

images/main/pic01.png

1.37 MB

images/main/pic02.png

360 KB

images/main/pic03.png

651 KB

images/main/pic04.png

216 KB

images/main/pic05.png

225 KB

images/main/pic06.png

906 KB

images/main/pic07.png

370 KB

images/main/pic08.png

741 KB

images/main/pic09.png

679 KB

images/main/pic10.png

218 KB

images/main/pic11.png

214 KB

images/media/ic_launcher.png

157 KB

images/navigation/ic_launcher.png

157 KB

images/profile/ic_launcher.png

157 KB

images/profile/profile_arrow_left.png

5.34 KB

images/profile/profile_avatar.png

26.8 KB

images/profile/profile_follow.png

15.6 KB

images/profile/profile_photos_01.png

160 KB

images/profile/profile_photos_02.png

173 KB

images/profile/profile_photos_03.png

39.2 KB

images/shopping/apple_pay.png

6.91 KB

images/shopping/applepay.jpg

37.5 KB

images/shopping/background.jpg

81.7 KB

images/shopping/battery.png

1.7 KB

images/shopping/ic_launcher.png

157 KB

images/shopping/paypal.png

6.79 KB

images/shopping/visa.png

32.8 KB

images/signup/ic_launcher.png

157 KB

images/signup/logo_signup.png

7.81 KB

images/signup/signup_page_11_bg.png

245 KB

images/signup/signup_page_6_bg.png

358 KB

images/signup/signup_page_8_bg.png

315 KB
207 KB

images/statistics/ic_launcher.png

157 KB

images/walkthrough/ic_launcher.png

157 KB

lib/const/color_const.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ const BLUE = Color(0xffabecd6);
1313
const BLUE_DEEP = Color(0xffA8CBFD);
1414
const BLUE_LIGHT = Color(0xffAED3EA);
1515
const PURPLE = Color(0xffccc3fc);
16+
const SIGNUP_LIGHT_RED = Color(0xffffc2a1);
17+
const SIGNUP_RED = Color(0xffffb1bb);
1618
const RED = Color(0xffF2A7B3);
1719
const GREEN = Color(0xffc7e5b4);
1820
const RED_LIGHT = Color(0xffFFC3A0);
1921
const TEXT_BLACK = Color(0xFF353535);
2022
const TEXT_BLACK_LIGHT = Color(0xFF34323D);
21-
const LIGHT_RED = Color(0xffffc2a1);

lib/const/gradient_const.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ const LinearGradient SIGNUP_CARD_BACKGROUND = LinearGradient(
1111
tileMode: TileMode.clamp,
1212
begin: FractionalOffset.centerLeft,
1313
end: FractionalOffset.centerRight,
14-
// Add one stop for each color. Stops should increase from 0 to 1
15-
stops: [0.1, 1.0], colors: [LIGHT_RED, RED],
14+
stops: [0.1, 1.0],
15+
colors: [SIGNUP_LIGHT_RED, SIGNUP_RED],
1616
);
1717

1818
const LinearGradient SIGNUP_CIRCLE_BUTTON_BACKGROUND = LinearGradient(
1919
tileMode: TileMode.clamp,
2020
begin: FractionalOffset.centerLeft,
2121
end: FractionalOffset.centerRight,
2222
// Add one stop for each color. Stops should increase from 0 to 1
23-
stops: [0.4, 1], colors: [Colors.black, Colors.black54],
23+
stops: [0.4, 1],
24+
colors: [Colors.black, Colors.black54],
2425
);

lib/main.dart

Lines changed: 33 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
import 'package:flutter/material.dart';
22
import 'package:flutter_ui_nice/page/navigation/navigation1/coordinator.dart';
33
import 'package:flutter_ui_nice/page/page_const.dart';
4-
import 'package:flutter_ui_nice/page/signup/SignPageEight.dart';
5-
import 'package:flutter_ui_nice/page/signup/SignPageFive.dart';
6-
import 'package:flutter_ui_nice/page/signup/SignPageFour.dart';
7-
import 'package:flutter_ui_nice/page/signup/SignPageThree.dart';
8-
import 'package:flutter_ui_nice/page/signup/SignPageEleven.dart';
9-
import 'package:flutter_ui_nice/page/signup/SignPageSeven.dart';
10-
import 'package:flutter_ui_nice/page/signup/SignPageSix.dart';
11-
import 'package:flutter_ui_nice/page/signup/SignPageNine.dart';
12-
import 'package:flutter_ui_nice/page/signup/SingPageTen.dart';
134

145
import 'const/string_const.dart';
156
import 'const/color_const.dart';
@@ -28,44 +19,44 @@ class MyApp extends StatelessWidget {
2819
title: StringConst.APP_NAME,
2920
debugShowCheckedModeBanner: false,
3021
theme: ThemeData(
31-
primaryColor: MAIN_COLOR,
32-
accentColor: MAIN_COLOR,
22+
primaryColor: BLUE_DEEP,
23+
accentColor: YELLOW,
3324
fontFamily: "Montserrat",
3425
),
3526
home: HomePage(),
36-
routes
37-
:
38-
{
39-
SIGN_UP_PAGES[0]: (context) => SignPageOne(),
40-
SIGN_UP_PAGES[1]: (context) => SignPageTwo(),
41-
//PROFILE pages
42-
PROFILE_PAGES[0]: (context) => ProfilePageOne(),
27+
routes: {
28+
//PROFILE pages
29+
PROFILE_PAGES[0]: (context) => ProfilePageOne(),
4330

44-
///FEED group page
45-
FEED_PAGES[0]: (context) => FeedPageOne(),
46-
FEED_PAGES[1]: (context) => FeedPageTwo(),
47-
FEED_PAGES[0]: (context) => FeedPageOne(),
48-
FEED_PAGES[3]: (context) => FeedPageFour(),
49-
FEED_PAGES[0]: (context) => FeedPageOne(),
50-
FEED_PAGES[0]: (context) => FeedPageOne(),
51-
FEED_PAGES[9]: (context) => FeedPageTen(),
52-
FEED_PAGES[10]: (context) => FeedPageEleven(),
53-
FEED_PAGES[11]: (context) => FeedPageTwelve(),
54-
FEED_PAGES[12]: (context) => FeedPageThirteen(),
55-
SHOPPING_PAGES[17]: (context) => ShopPageEighteen(),
56-
SHOPPING_PAGES[18]: (context) => ShopPageNineteen(),
31+
SIGN_UP_PAGES[0]: (context) => SignPageOne(),
32+
SIGN_UP_PAGES[1]: (context) => SignPageTwo(),
33+
SIGN_UP_PAGES[2]: (context) => SignPageThree(),
34+
SIGN_UP_PAGES[3]: (context) => SignPageFour(),
35+
SIGN_UP_PAGES[4]: (context) => SignPageFive(),
36+
SIGN_UP_PAGES[5]: (context) => SignPageSix(),
37+
SIGN_UP_PAGES[6]: (context) => SignPageSeven(),
38+
SIGN_UP_PAGES[7]: (context) => SignPageEight(),
39+
SIGN_UP_PAGES[8]: (context) => SignPageNine(),
40+
SIGN_UP_PAGES[9]: (context) => SignPageTeen(),
41+
SIGN_UP_PAGES[10]: (context) => SignPageEleven(),
5742

58-
NAVIGATION_PAGES[0]: (context) => NavigationOneCoordinator(),
59-
SIGN_UP_PAGES[2]: (context) => SignPageThree(),
60-
SIGN_UP_PAGES[3]: (context) => SignPageFour(),
61-
SIGN_UP_PAGES[4]: (context) => SignPageFive(),
62-
SIGN_UP_PAGES[5]: (context) => SignPageSix(),
63-
SIGN_UP_PAGES[6]: (context) => SignPageSeven(),
64-
SIGN_UP_PAGES[7]: (context) => SignPageEight(),
65-
SIGN_UP_PAGES[8]: (context) => SignPageNine(),
66-
SIGN_UP_PAGES[9]: (context) => SignPageTeen(),
67-
SIGN_UP_PAGES[10]: (context) => SignPageEleven(),
68-
//FIXME there are other pages to jump with 'page_str_const.dart',there should be make by manager
43+
///FEED group page
44+
FEED_PAGES[0]: (context) => FeedPageOne(),
45+
FEED_PAGES[1]: (context) => FeedPageTwo(),
46+
FEED_PAGES[0]: (context) => FeedPageOne(),
47+
FEED_PAGES[3]: (context) => FeedPageFour(),
48+
FEED_PAGES[0]: (context) => FeedPageOne(),
49+
FEED_PAGES[0]: (context) => FeedPageOne(),
50+
FEED_PAGES[9]: (context) => FeedPageTen(),
51+
FEED_PAGES[10]: (context) => FeedPageEleven(),
52+
FEED_PAGES[11]: (context) => FeedPageTwelve(),
53+
FEED_PAGES[12]: (context) => FeedPageThirteen(),
54+
55+
SHOPPING_PAGES[17]: (context) => ShopPageEighteen(),
56+
SHOPPING_PAGES[18]: (context) => ShopPageNineteen(),
57+
58+
NAVIGATION_PAGES[0]: (context) => NavigationOneCoordinator(),
59+
//FIXME there are other pages to jump with 'page_str_const.dart',there should be make by manager
6960
},
7061
onUnknownRoute: (setting) =>
7162
MaterialPageRoute(builder: (context) => EmptyPage()),

lib/page/feed/feed_const.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const TEXT_SMALL_2_SIZE = 22.0;
2121
const TEXT_SMALL_3_SIZE = 24.0;
2222

2323
class FeedImage {
24-
static const IMAGE_PATH = "images/feed";
24+
static const IMAGE_PATH = "assets/images/feed";
2525
static const more_circle = "$IMAGE_PATH/feed_more.png";
2626
static const search_circle = "$IMAGE_PATH/feed_search.png";
2727
static const white_back = "$IMAGE_PATH/white_background.png";

lib/page/page_const.dart

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@ export "home_page.dart";
77
export "empty_page.dart";
88
export 'signup/SignPageOne.dart';
99
export 'signup/SignPageTwo.dart';
10-
10+
export 'signup/SignPageFour.dart';
11+
export 'signup/SignPageEleven.dart';
12+
export 'signup/SignPageEight.dart';
13+
export 'signup/SignPageFive.dart';
14+
export 'signup/SignPageFour.dart';
15+
export 'signup/SignPageThree.dart';
16+
export 'signup/SignPageEleven.dart';
17+
export 'signup/SignPageSeven.dart';
18+
export 'signup/SignPageSix.dart';
19+
export 'signup/SignPageNine.dart';
20+
export 'signup/SingPageTen.dart';
1121

1222
//PROFILE pages
1323
export 'profile/ProfilePageOne.dart';

lib/page/profile/profile_const.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const TEXT_SIZE_M = 26.0;
3434
const TEXT_SIZE_S = 24.0;
3535

3636
class ProfileImages {
37-
static const IMAGE_PATH = "images/profile";
37+
static const IMAGE_PATH = "assets/images/profile";
3838
static const arrow_left = "$IMAGE_PATH/profile_arrow_left.png";
3939
static const avatar = "$IMAGE_PATH/profile_avatar.png";
4040
static const follow = "$IMAGE_PATH/profile_follow.png";

lib/page/shopping/ShopPageEighteen.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ class _ShopEighteenState extends State<ShopPageEighteen> {
3636
GREEN,
3737
];
3838
List<String> imageurl = <String>[
39-
"images/shopping/paypal.png",
40-
"images/shopping/visa.png",
41-
"images/shopping/apple_pay.png"
39+
"assets/images/shopping/paypal.png",
40+
"assets/images/shopping/visa.png",
41+
"assets/images/shopping/apple_pay.png"
4242
];
4343

4444
Widget floatingTextFieldWidget(name, topmargin) {

lib/page/shopping/ShopPageNineteen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class _ShopNineteenState extends State<ShopPageNineteen> {
114114
Opacity(
115115
opacity: 0.5,
116116
child: Image.asset(
117-
"images/shopping/background.jpg",
117+
"assets/images/shopping/background.jpg",
118118
fit: BoxFit.cover,
119119
),
120120
),

lib/page/signup/widgets/signup_const.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ import 'package:flutter_ui_nice/const/color_const.dart';
44
const LinearGradient SIGNUP_SIX_GOOGLEP_BG = LinearGradient(
55
begin: FractionalOffset.centerLeft,
66
end: FractionalOffset.centerRight,
7-
// Add one stop for each color. Stops should increase from 0 to 1
87
stops: [0.2, 0.8],
98
colors: [
10-
LIGHT_RED,
9+
SIGNUP_LIGHT_RED,
1110
Color(0xFFf194a2),
1211
],
1312
);

0 commit comments

Comments
 (0)