Skip to content

Page 11 added with full functioanility and icon changed added widgets #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/signup/signup_page_11_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/signup/signup_page_6_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion lib/const/fonts_const.dart

This file was deleted.

7 changes: 4 additions & 3 deletions lib/const/gradient_const.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import 'package:flutter/material.dart';
import 'color_const.dart';

const LinearGradient SIGNUP_BACKGROUND = LinearGradient(
begin: FractionalOffset(0.0, 0.4), end: FractionalOffset(0.9, 0.7),
// Add one stop for each color. Stops should increase from 0 to 1
stops: [0.1, 0.9], colors: [YELLOW, BLUE]);
begin: FractionalOffset(0.0, 0.4), end: FractionalOffset(0.9, 0.7),
// Add one stop for each color. Stops should increase from 0 to 1
stops: [0.1, 0.9], colors: [YELLOW, BLUE],
);

const LinearGradient SIGNUP_CARD_BACKGROUND = LinearGradient(
tileMode: TileMode.clamp,
Expand Down
2 changes: 2 additions & 0 deletions lib/const/images_const.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ class MainImagePath {
class SignUpImagePath {
static const String image_path = "assets/images/signup";
static const String SignUpLogo = "$image_path/logo_signup.png";
static const String SignUpPage_11_Bg = "$image_path/signup_page_11_bg.png";
static const String SignUpPage_6_Bg = "$image_path/signup_page_6_bg.png";
}
7 changes: 7 additions & 0 deletions lib/const/page_str_const.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ const SIGN_UP_PAGES = [
"Sign up page 02",
"Sign up page 03",
"Sign up page 04",
"Sign up page 05",
"Sign up page 06",
"Sign up page 07",
"Sign up page 08",
"Sign up page 09",
"Sign up page 10",
"Sign up page 11",

/// fixme you could add by your group one name fit one page.
];
Expand Down
9 changes: 9 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'package:flutter/material.dart';
import 'package:flutter_ui_nice/page/page_const.dart';
import 'package:flutter_ui_nice/page/signup/SignPageFour.dart';
import 'package:flutter_ui_nice/page/signup/SignPageEleven.dart';
import 'package:flutter_ui_nice/page/signup/SignPageSix.dart';
import 'const/string_const.dart';
import 'const/color_const.dart';
import 'const/page_str_const.dart';
Expand All @@ -26,6 +28,13 @@ class MyApp extends StatelessWidget {
SIGN_UP_PAGES[1]: (context) => SignPageTwo(),
//SIGN_UP_PAGES[2]: (context) => SignPageThird(),
SIGN_UP_PAGES[3]: (context) => SignPageFour(),
SIGN_UP_PAGES[4]: (context) => SignPageFour(),
SIGN_UP_PAGES[5]: (context) => SignPageSix(),
SIGN_UP_PAGES[6]: (context) => SignPageFour(),
SIGN_UP_PAGES[7]: (context) => SignPageFour(),
SIGN_UP_PAGES[8]: (context) => SignPageFour(),
SIGN_UP_PAGES[9]: (context) => SignPageFour(),
SIGN_UP_PAGES[10]: (context) => SignPageEleven(),
//FIXME there are other pages to jump with 'page_str_const.dart',there should be make by manager
},
onUnknownRoute: (setting) =>
Expand Down
1 change: 1 addition & 0 deletions lib/page/page_const.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export "empty_page.dart";
export 'signup/SignPageOne.dart';
export 'signup/SignPageTwo.dart';
export 'signup/SignPageFour.dart';
export 'signup/SignPageEleven.dart';
Loading