Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
netrain_flutter_app
Project
Project
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
邹志胜
netrain_flutter_app
Commits
3d92996b
Commit
3d92996b
authored
Oct 12, 2020
by
laishanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善登录页
parent
e8236e54
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
196 additions
and
101 deletions
+196
-101
Stateful_page.dart
netrain_flutter_app/lib/laishanqi/Stateful_page.dart
+3
-3
layout_page.dart
netrain_flutter_app/lib/laishanqi/layout_page.dart
+0
-3
loginPage.dart
netrain_flutter_app/lib/laishanqi/loginPage.dart
+164
-71
photo.dart
netrain_flutter_app/lib/laishanqi/photo.dart
+0
-2
main.dart
netrain_flutter_app/lib/main.dart
+1
-2
pubspec.lock
netrain_flutter_app/pubspec.lock
+27
-20
pubspec.yaml
netrain_flutter_app/pubspec.yaml
+1
-0
No files found.
netrain_flutter_app/lib/laishanqi/Stateful_page.dart
View file @
3d92996b
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'file:///E:/studioProject/netrain_flutter_app/netrain_flutter_app/lib/laishanqi/Cat.dart'
;
import
'Cat.dart'
;
import
'layout_page.dart'
;
import
'layout_page.dart'
;
/// 有状态组件
/// 有状态组件
...
@@ -54,7 +54,7 @@ class _StatefulGroupState extends State<FulGroupPage> {
...
@@ -54,7 +54,7 @@ class _StatefulGroupState extends State<FulGroupPage> {
Icons
.
home
,
Icons
.
home
,
color:
Colors
.
blue
,
color:
Colors
.
blue
,
),
),
title:
Text
(
"首页"
)
),
label:
"首页"
),
BottomNavigationBarItem
(
BottomNavigationBarItem
(
icon:
Icon
(
icon:
Icon
(
Icons
.
accessibility
,
Icons
.
accessibility
,
...
@@ -64,7 +64,7 @@ class _StatefulGroupState extends State<FulGroupPage> {
...
@@ -64,7 +64,7 @@ class _StatefulGroupState extends State<FulGroupPage> {
Icons
.
accessibility
,
Icons
.
accessibility
,
color:
Colors
.
blue
,
color:
Colors
.
blue
,
),
),
title:
Text
(
"我的"
)
),
label:
"我的"
),
],
],
),
),
body:
_currentIndex
==
0
body:
_currentIndex
==
0
...
...
netrain_flutter_app/lib/laishanqi/layout_page.dart
View file @
3d92996b
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'file:///E:/studioProject/netrain_flutter_app/netrain_flutter_app/lib/laishanqi/Cat.dart'
;
import
'Stateful_page.dart'
;
class
LayoutPage
extends
StatefulWidget
{
class
LayoutPage
extends
StatefulWidget
{
@override
@override
...
...
netrain_flutter_app/lib/laishanqi/loginPage.dart
View file @
3d92996b
This diff is collapsed.
Click to expand it.
netrain_flutter_app/lib/laishanqi/photo.dart
View file @
3d92996b
import
'dart:io'
;
import
'dart:io'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'file:///E:/studioProject/netrain_flutter_app/netrain_flutter_app/lib/laishanqi/Cat.dart'
;
import
'file:///E:/studioProject/netrain_flutter_app/netrain_flutter_app/lib/laishanqi/layout_page.dart'
;
import
'package:image_picker/image_picker.dart'
;
import
'package:image_picker/image_picker.dart'
;
class
PhotoApp
extends
StatelessWidget
{
class
PhotoApp
extends
StatelessWidget
{
...
...
netrain_flutter_app/lib/main.dart
View file @
3d92996b
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'file:///E:/studioProject/netrain_flutter_app/netrain_flutter_app/lib/laishanqi/Cat.dart'
;
import
'file:///E:/studioProject/netrain_flutter_app/netrain_flutter_app/lib/laishanqi/layout_page.dart'
;
import
'laishanqi/Stateful_page.dart'
;
import
'laishanqi/Stateful_page.dart'
;
import
'laishanqi/Stateless_page.dart'
;
import
'laishanqi/Stateless_page.dart'
;
import
'laishanqi/layout_page.dart'
;
import
'laishanqi/loginPage.dart'
;
import
'laishanqi/loginPage.dart'
;
import
'laishanqi/photo.dart'
;
import
'laishanqi/photo.dart'
;
...
...
netrain_flutter_app/pubspec.lock
View file @
3d92996b
...
@@ -7,42 +7,42 @@ packages:
...
@@ -7,42 +7,42 @@ packages:
name: async
name: async
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "2.
4.2
"
version: "2.
5.0-nullsafety.1
"
boolean_selector:
boolean_selector:
dependency: transitive
dependency: transitive
description:
description:
name: boolean_selector
name: boolean_selector
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "2.
0.0
"
version: "2.
1.0-nullsafety.1
"
characters:
characters:
dependency: transitive
dependency: transitive
description:
description:
name: characters
name: characters
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
0.0
"
version: "1.
1.0-nullsafety.3
"
charcode:
charcode:
dependency: transitive
dependency: transitive
description:
description:
name: charcode
name: charcode
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
1.3
"
version: "1.
2.0-nullsafety.1
"
clock:
clock:
dependency: transitive
dependency: transitive
description:
description:
name: clock
name: clock
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
0
.1"
version: "1.
1.0-nullsafety
.1"
collection:
collection:
dependency: transitive
dependency: transitive
description:
description:
name: collection
name: collection
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.1
4.1
3"
version: "1.1
5.0-nullsafety.
3"
cupertino_icons:
cupertino_icons:
dependency: "direct main"
dependency: "direct main"
description:
description:
...
@@ -56,7 +56,7 @@ packages:
...
@@ -56,7 +56,7 @@ packages:
name: fake_async
name: fake_async
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
1.0
"
version: "1.
2.0-nullsafety.1
"
flutter:
flutter:
dependency: "direct main"
dependency: "direct main"
description: flutter
description: flutter
...
@@ -74,6 +74,13 @@ packages:
...
@@ -74,6 +74,13 @@ packages:
description: flutter
description: flutter
source: sdk
source: sdk
version: "0.0.0"
version: "0.0.0"
fluttertoast:
dependency: "direct main"
description:
name: fluttertoast
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.1.3"
http:
http:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -108,21 +115,21 @@ packages:
...
@@ -108,21 +115,21 @@ packages:
name: matcher
name: matcher
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "0.12.
8
"
version: "0.12.
10-nullsafety.1
"
meta:
meta:
dependency: transitive
dependency: transitive
description:
description:
name: meta
name: meta
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
1.8
"
version: "1.
3.0-nullsafety.3
"
path:
path:
dependency: transitive
dependency: transitive
description:
description:
name: path
name: path
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
7.0
"
version: "1.
8.0-nullsafety.1
"
pedantic:
pedantic:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -136,7 +143,7 @@ packages:
...
@@ -136,7 +143,7 @@ packages:
name: plugin_platform_interface
name: plugin_platform_interface
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.0.
2
"
version: "1.0.
3
"
sky_engine:
sky_engine:
dependency: transitive
dependency: transitive
description: flutter
description: flutter
...
@@ -148,56 +155,56 @@ packages:
...
@@ -148,56 +155,56 @@ packages:
name: source_span
name: source_span
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
7.0
"
version: "1.
8.0-nullsafety.2
"
stack_trace:
stack_trace:
dependency: transitive
dependency: transitive
description:
description:
name: stack_trace
name: stack_trace
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
9.5
"
version: "1.
10.0-nullsafety.1
"
stream_channel:
stream_channel:
dependency: transitive
dependency: transitive
description:
description:
name: stream_channel
name: stream_channel
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "2.
0.0
"
version: "2.
1.0-nullsafety.1
"
string_scanner:
string_scanner:
dependency: transitive
dependency: transitive
description:
description:
name: string_scanner
name: string_scanner
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
0.5
"
version: "1.
1.0-nullsafety.1
"
term_glyph:
term_glyph:
dependency: transitive
dependency: transitive
description:
description:
name: term_glyph
name: term_glyph
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
1.0
"
version: "1.
2.0-nullsafety.1
"
test_api:
test_api:
dependency: transitive
dependency: transitive
description:
description:
name: test_api
name: test_api
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "0.2.1
7
"
version: "0.2.1
9-nullsafety.2
"
typed_data:
typed_data:
dependency: transitive
dependency: transitive
description:
description:
name: typed_data
name: typed_data
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
2.0
"
version: "1.
3.0-nullsafety.3
"
vector_math:
vector_math:
dependency: transitive
dependency: transitive
description:
description:
name: vector_math
name: vector_math
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "2.
0.8
"
version: "2.
1.0-nullsafety.3
"
sdks:
sdks:
dart: ">=2.
9.0-14.0.dev <3.0
.0"
dart: ">=2.
10.0-110 <2.11
.0"
flutter: ">=1.12.13 <2.0.0"
flutter: ">=1.12.13 <2.0.0"
netrain_flutter_app/pubspec.yaml
View file @
3d92996b
...
@@ -29,6 +29,7 @@ dependencies:
...
@@ -29,6 +29,7 @@ dependencies:
# Use with the CupertinoIcons class for iOS style icons.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons
:
^0.1.3
cupertino_icons
:
^0.1.3
image_picker
:
^0.6.7+11
image_picker
:
^0.6.7+11
fluttertoast
:
^3.1.3
dev_dependencies
:
dev_dependencies
:
flutter_test
:
flutter_test
:
...
...
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