Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
고원빈
2021-05-07 20:13:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b54c2d5d13160022ee28e26dca01b1c4128632e0
b54c2d5d
1 parent
f226cf06
dd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
136 additions
and
20 deletions
frontend/flutter_application_1/lib/src/screens/DashBoard.dart
frontend/flutter_application_1/lib/src/screens/InnerInformation copy.dart
frontend/flutter_application_1/lib/src/screens/MainPage.dart
frontend/flutter_application_1/lib/src/screens/OuterInformation.dart
frontend/flutter_application_1/lib/src/screens/SettingPage.dart
frontend/flutter_application_1/lib/src/screens/SignInPage.dart
frontend/flutter_application_1/lib/src/screens/DashBoard.dart
View file @
b54c2d5
...
...
@@ -9,17 +9,28 @@ class DashBoard extends StatefulWidget {
}
class
_DashBoardState
extends
State
<
DashBoard
>
{
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
title:
'Welcome to Flutter'
,
home:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Welcome to Flutter'
),
),
body:
Center
(
child:
Text
(
'DashBoard 작업 영역'
),
),
final
Size
size
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
backgroundColor:
Color
(
0xffe5f4ff
),
appBar:
PreferredSize
(
preferredSize:
Size
.
fromHeight
(
65
),
child:
Container
(
padding
:
const
EdgeInsets
.
fromLTRB
(
0
,
10
,
0
,
0
),
color:
Colors
.
white
,
child
:
AppBar
(
backgroundColor:
Colors
.
white
,
actions:
<
Widget
>
[
Container
(
width
:
size
.
width
*
0.2
)
],
))
),
)
;
)
}
}
...
...
frontend/flutter_application_1/lib/src/screens/InnerInformation copy.dart
0 → 100644
View file @
b54c2d5
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'../shared/colors.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
class
InnerInformation
extends
StatefulWidget
{
@override
_InnerInformationState
createState
()
=>
_InnerInformationState
();
}
class
_InnerInformationState
extends
State
<
InnerInformation
>
{
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
title:
'Welcome to Flutter'
,
home:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Welcome to Flutter'
),
),
body:
Center
(
child:
Text
(
'약병 내부 페이지 작업 영역'
),
),
),
);
}
}
frontend/flutter_application_1/lib/src/screens/MainPage.dart
0 → 100644
View file @
b54c2d5
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'../shared/colors.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
class
MainPage
extends
StatefulWidget
{
@override
_MainPageState
createState
()
=>
_MainPageState
();
}
class
_MainPageState
extends
State
<
MainPage
>
{
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
title:
'Welcome to Flutter'
,
home:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Welcome to Flutter'
),
),
body:
Center
(
child:
Text
(
'Main PAge 작업 영역'
),
),
),
);
}
}
frontend/flutter_application_1/lib/src/screens/OuterInformation.dart
0 → 100644
View file @
b54c2d5
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'../shared/colors.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
class
OuterInformation
extends
StatefulWidget
{
@override
_OuterInformationState
createState
()
=>
_OuterInformationState
();
}
class
_OuterInformationState
extends
State
<
OuterInformation
>
{
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
title:
'Welcome to Flutter'
,
home:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Welcome to Flutter'
),
),
body:
Center
(
child:
Text
(
'약병 내부 페이지 작업 영역'
),
),
),
);
}
}
frontend/flutter_application_1/lib/src/screens/SettingPage.dart
0 → 100644
View file @
b54c2d5
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'../shared/colors.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
class
SettingPage
extends
StatefulWidget
{
@override
_SettingPageState
createState
()
=>
_SettingPageState
();
}
class
_SettingPageState
extends
State
<
SettingPage
>
{
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
title:
'Welcome to Flutter'
,
home:
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Welcome to Flutter'
),
),
body:
Center
(
child:
Text
(
'Setting page 작업 영역'
),
),
),
);
}
}
frontend/flutter_application_1/lib/src/screens/SignInPage.dart
View file @
b54c2d5
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'./DashBoard.dart'
;
class
SignInPage
extends
StatefulWidget
{
@override
...
...
@@ -29,16 +30,6 @@ class _SignInPageState extends State<SignInPage> {
}
},
child:
Scaffold
(
// appBar: AppBar(
// elevation: 0,
// backgroundColor: white,
// title: Padding(
// padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
// child: Text('',
// textScaleFactor: 1.0,
// style: TextStyle(
// color: Colors.grey, fontFamily: 'Noto', fontSize: 16)),
// )),
body:
Builder
(
builder:
(
BuildContext
context
)
{
return
ListView
(
...
...
@@ -171,6 +162,20 @@ class _SignInPageState extends State<SignInPage> {
],
);
});
}
else
{
emailController
.
text
=
emailController
.
text
.
trim
();
passwordController
.
text
=
passwordController
.
text
.
trim
();
saveMessage
=
"로그인 성공"
;
if
(
saveMessage
==
"로그인 성공"
)
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=>
DashBoard
(),
));
}
}
},
shape:
RoundedRectangleBorder
(
...
...
Please
register
or
login
to post a comment