Skip to content

Commit c0b443f

Browse files
author
Jack
committed
Merge remote-tracking branch 'upstream/master'
2 parents 883e219 + 55a0494 commit c0b443f

File tree

113 files changed

+3163
-113
lines changed

Some content is hidden

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

113 files changed

+3163
-113
lines changed

README.md

Lines changed: 26 additions & 13 deletions

assets/images/main/ic_launcher.png

-10 KB

doc/01-signup-no.jpg

562 KB

doc/02-walk_through-no.jpg

941 KB

doc/03-navigation-no.jpg

664 KB

doc/04-profile-no.jpg

945 KB

doc/05-feed-no.jpg

1.01 MB

doc/06-chat-no.jpg

484 KB

doc/07-shopping-no.jpg

1 MB

doc/08-statistics-no.jpg

700 KB

doc/09-media-no.jpg

393 KB

doc/10-camera-no.jpg

508 KB

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/statistics/ic_launcher.png

157 KB

images/walkthrough/ic_launcher.png

157 KB

lib/const/color_const.dart

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ const DARK_COLOR = Color(0xFFBDBDBD);
1010
const BOTTOM_COLORS = [MAIN_COLOR, DARK_COLOR];
1111
const YELLOW = Color(0xfffbed96);
1212
const BLUE = Color(0xffabecd6);
13+
const BLUE_DEEP = Color(0xffA8CBFD);
14+
const BLUE_LIGHT = Color(0xffAED3EA);
1315
const PURPLE = Color(0xffccc3fc);
14-
const LIGHT_RED = Color(0xffffc2a1);
15-
const RED = Color(0xffffb1bb);
16+
const SIGNUP_LIGHT_RED = Color(0xffffc2a1);
17+
const SIGNUP_RED = Color(0xffffb1bb);
18+
const RED = Color(0xffF2A7B3);
19+
const GREEN = Color(0xffc7e5b4);
20+
const RED_LIGHT = Color(0xffFFC3A0);
21+
const TEXT_BLACK = Color(0xFF353535);
22+
const TEXT_BLACK_LIGHT = Color(0xFF34323D);

lib/const/gradient_const.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const LinearGradient SIGNUP_CARD_BACKGROUND = LinearGradient(
1212
begin: FractionalOffset.centerLeft,
1313
end: FractionalOffset.centerRight,
1414
// Add one stop for each color. Stops should increase from 0 to 1
15-
stops: [0.1, 1.0], colors: [LIGHT_RED, RED],
15+
stops: [0.1, 1.0], colors: [SIGNUP_LIGHT_RED, SIGNUP_RED],
1616
);
1717

1818
const LinearGradient SIGNUP_CIRCLE_BUTTON_BACKGROUND = LinearGradient(

lib/const/images_const.dart

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ class ImagePath {
2323
class MainImagePath {
2424
static const String image_path = "assets/images/main";
2525
static const String image_app = "$image_path/ic_launcher.png";
26-
static const String image_header = "$image_path/main_background.png";
27-
static const String image_sign_up = "$image_path/main_background.png";
28-
static const String image_walk_through = "$image_path/main_background.png";
29-
static const String image_navigation = "$image_path/main_background.png";
30-
static const String image_profile = "$image_path/main_background.png";
31-
static const String image_feed = "$image_path/main_background.png";
32-
static const String image_chat = "$image_path/main_background.png";
33-
static const String image_shopping = "$image_path/main_background.png";
34-
static const String image_statistic = "$image_path/main_background.png";
35-
static const String image_media = "$image_path/main_background.png";
36-
static const String image_camera = "$image_path/main_background.png";
26+
static const String image_header = "$image_path/pic04.png";
27+
static const String image_sign_up = "$image_path/pic03.png";
28+
static const String image_walk_through = "$image_path/pic01.png";
29+
static const String image_navigation = "$image_path/pic05.png";
30+
static const String image_profile = "$image_path/pic06.png";
31+
static const String image_feed = "$image_path/pic02.png";
32+
static const String image_chat = "$image_path/pic08.png";
33+
static const String image_shopping = "$image_path/pic09.png";
34+
static const String image_statistic = "$image_path/pic10.png";
35+
static const String image_media = "$image_path/pic11.png";
36+
static const String image_camera = "$image_path/pic01.png";
3737
}
3838

3939
class SignUpImagePath {

lib/const/page_str_const.dart

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ const FEED_PAGES = [
4949
"Feed page 01",
5050
"Feed page 02",
5151
"Feed page 03",
52+
"Feed page 04",
53+
"Feed page 05",
54+
"Feed page 06",
55+
"Feed page 07",
56+
"Feed page 08",
57+
"Feed page 09",
58+
"Feed page 10",
59+
"Feed page 11",
60+
"Feed page 12",
61+
"Feed page 13",
5262

5363
/// fixme you could add by your group one name fit one page.
5464
];
@@ -63,6 +73,22 @@ const SHOPPING_PAGES = [
6373
"Shopping page 01",
6474
"Shopping page 02",
6575
"Shopping page 03",
76+
"Shopping page 04",
77+
"Shopping page 05",
78+
"Shopping page 06",
79+
"Shopping page 07",
80+
"Shopping page 08",
81+
"Shopping page 09",
82+
"Shopping page 10",
83+
"Shopping page 11",
84+
"Shopping page 12",
85+
"Shopping page 13",
86+
"Shopping page 14",
87+
"Shopping page 15",
88+
"Shopping page 16",
89+
"Shopping page 17",
90+
"Shopping page 18",
91+
"Shopping page 19",
6692

6793
/// fixme you could add by your group one name fit one page.
6894
];

lib/const/shadow_const.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import 'package:flutter/material.dart';
2+
3+
const SHADOW = [
4+
BoxShadow(
5+
color: Colors.black12,
6+
blurRadius: 20.0,
7+
spreadRadius: 5.0,
8+
offset: Offset(
9+
10.0, // horizontal, move right 10
10+
10.0, // vertical, move down 10
11+
),
12+
)
13+
];

lib/const/string_const.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
class StringConst {
99
//strings
10-
static const String APP_NAME = "Flutter UI Nice";
10+
static const String APP_NAME = "flutter-ui-nice";
1111
static const String CREATE_BY = "Created By Volunteer";
1212
static const String DEVELOPER = "Volunteer";
1313
static const String PROFESSION = "Flutter Developer";

lib/main.dart

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
11
import 'package:flutter/material.dart';
2+
import 'package:flutter_ui_nice/page/navigation/navigation1/coordinator.dart';
23
import 'package:flutter_ui_nice/page/page_const.dart';
3-
import 'package:flutter_ui_nice/page/signup/SignPageEight.dart';
4-
import 'package:flutter_ui_nice/page/signup/SignPageFive.dart';
5-
import 'package:flutter_ui_nice/page/signup/SignPageFour.dart';
6-
import 'package:flutter_ui_nice/page/signup/SignPageThree.dart';
7-
import 'package:flutter_ui_nice/page/signup/SignPageEleven.dart';
8-
import 'package:flutter_ui_nice/page/signup/SignPageSeven.dart';
9-
import 'package:flutter_ui_nice/page/signup/SignPageSix.dart';
10-
import 'package:flutter_ui_nice/page/signup/SignPageNine.dart';
11-
import 'package:flutter_ui_nice/page/signup/SingPageTen.dart';
124

135
import 'const/string_const.dart';
146
import 'const/color_const.dart';
157
import 'const/page_str_const.dart';
168
import "page/page_const.dart";
9+
import 'package:flutter/services.dart';
1710

1811
void main() => runApp(MyApp());
1912

2013
class MyApp extends StatelessWidget {
2114
// This widget is the root of your application.
2215
@override
2316
Widget build(BuildContext context) {
17+
SystemChrome.setEnabledSystemUIOverlays([]);
2418
return MaterialApp(
2519
title: StringConst.APP_NAME,
2620
debugShowCheckedModeBanner: false,
2721
theme: ThemeData(
28-
primaryColor: MAIN_COLOR,
29-
accentColor: MAIN_COLOR,
30-
fontFamily: "Montserrat",
31-
),
22+
primaryColor: BLUE,
23+
accentColor: TEXT_BLACK_LIGHT,
24+
fontFamily: 'Montserrat'),
3225
home: HomePage(),
3326
routes: {
3427
SIGN_UP_PAGES[0]: (context) => SignPageOne(),
@@ -42,6 +35,25 @@ class MyApp extends StatelessWidget {
4235
SIGN_UP_PAGES[8]: (context) => SignPageNine(),
4336
SIGN_UP_PAGES[9]: (context) => SignPageTeen(),
4437
SIGN_UP_PAGES[10]: (context) => SignPageEleven(),
38+
39+
//PROFILE pages
40+
PROFILE_PAGES[0]: (context) => ProfilePageOne(),
41+
42+
///FEED group page
43+
FEED_PAGES[0]: (context) => FeedPageOne(),
44+
FEED_PAGES[1]: (context) => FeedPageTwo(),
45+
FEED_PAGES[0]: (context) => FeedPageOne(),
46+
FEED_PAGES[3]: (context) => FeedPageFour(),
47+
FEED_PAGES[0]: (context) => FeedPageOne(),
48+
FEED_PAGES[0]: (context) => FeedPageOne(),
49+
FEED_PAGES[9]: (context) => FeedPageTen(),
50+
FEED_PAGES[10]: (context) => FeedPageEleven(),
51+
FEED_PAGES[11]: (context) => FeedPageTwelve(),
52+
FEED_PAGES[12]: (context) => FeedPageThirteen(),
53+
SHOPPING_PAGES[17]: (context) => ShopPageEighteen(),
54+
SHOPPING_PAGES[18]: (context) => ShopPageNineteen(),
55+
56+
NAVIGATION_PAGES[0]: (context) => NavigationOneCoordinator(),
4557
//FIXME there are other pages to jump with 'page_str_const.dart',there should be make by manager
4658
},
4759
onUnknownRoute: (setting) =>

0 commit comments

Comments
 (0)