Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-035-CoviDefender
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-035
2021-035-CoviDefender
Commits
3af6cff1
Commit
3af6cff1
authored
May 02, 2021
by
Indika NK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a Dashboard UI to Iguider
parent
5ebd693a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
156 additions
and
9 deletions
+156
-9
lib/assets/images/boralu.jpg
lib/assets/images/boralu.jpg
+0
-0
lib/home_screen.dart
lib/home_screen.dart
+2
-0
lib/i_guider.dart
lib/i_guider.dart
+143
-0
lib/main.dart
lib/main.dart
+11
-9
No files found.
lib/assets/images/boralu.jpg
deleted
100644 → 0
View file @
5ebd693a
7.74 KB
lib/home_screen.dart
View file @
3af6cff1
...
...
@@ -83,6 +83,8 @@ class _HomeScreenState extends State<HomeScreen> {
flex:
2
,
child:
FlatButton
(
onPressed:
()
{
print
(
'i guider '
);
Navigator
.
pushNamed
(
context
,
'/guider'
);
},
// padding: EdgeInsets.all(60),
padding:
EdgeInsets
.
fromLTRB
(
60
,
75
,
45
,
70
),
...
...
lib/i_guider.dart
0 → 100644
View file @
3af6cff1
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
class
I_guider
extends
StatelessWidget
{
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'I-Guider'
),
// elevation: 0,
),
body:
Column
(
children:
[
Row
(
children:
[
Expanded
(
child:
Container
(
child:
Text
(
'Main Area'
),
height:
300
,
color:
Colors
.
blue
[
200
],
),
),
],
),
//------------------------------------
SizedBox
(
height:
15
,
),
Row
(
children:
[
Expanded
(
child:
Padding
(
padding:
const
EdgeInsets
.
fromLTRB
(
8
,
0
,
8
,
0
),
child:
ButtonTheme
(
minWidth:
100.0
,
height:
150.0
,
child:
RaisedButton
.
icon
(
icon:
Icon
(
Icons
.
bluetooth_audio_rounded
,
size:
40
,
color:
Colors
.
white
,
),
label:
Text
(
''
,
style:
TextStyle
(
fontWeight:
FontWeight
.
bold
)),
onPressed:
()
{},
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10
)),
color:
Colors
.
blue
[
200
],
),
),
),
),
Expanded
(
child:
Padding
(
padding:
const
EdgeInsets
.
fromLTRB
(
8
,
0
,
8
,
0
),
child:
ButtonTheme
(
minWidth:
100.0
,
height:
150.0
,
child:
RaisedButton
.
icon
(
color:
Colors
.
red
[
200
],
icon:
Icon
(
Icons
.
face_unlock_sharp
,
size:
60
,
color:
Colors
.
white
,
),
label:
Text
(
''
,
style:
TextStyle
(
fontWeight:
FontWeight
.
bold
),
),
onPressed:
()
{},
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10
)),
),
),
),
)
],
),
SizedBox
(
height:
10
),
Row
(
children:
[
Expanded
(
child:
Padding
(
padding:
const
EdgeInsets
.
fromLTRB
(
8
,
0
,
8
,
0
),
child:
ButtonTheme
(
minWidth:
100.0
,
height:
150.0
,
child:
RaisedButton
.
icon
(
icon:
Icon
(
Icons
.
notifications_active
,
size:
40
,
color:
Colors
.
white
,
),
label:
Text
(
''
,
style:
TextStyle
(
fontWeight:
FontWeight
.
bold
)),
onPressed:
()
{},
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10
)),
color:
Colors
.
greenAccent
,
),
),
),
),
Expanded
(
child:
Padding
(
padding:
const
EdgeInsets
.
fromLTRB
(
8
,
0
,
8
,
0
),
child:
ButtonTheme
(
minWidth:
100.0
,
height:
150.0
,
child:
RaisedButton
.
icon
(
color:
Colors
.
purple
[
200
],
icon:
Icon
(
Icons
.
online_prediction_sharp
,
size:
60
,
color:
Colors
.
white
,
),
label:
Text
(
''
,
style:
TextStyle
(
fontWeight:
FontWeight
.
bold
),
),
onPressed:
()
{},
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10
)),
),
),
),
)
],
),
],
),
);
}
}
lib/main.dart
View file @
3af6cff1
import
'package:flutter/material.dart'
;
import
'home_screen.dart'
;
import
'i_guider.dart'
;
void
main
(
)
=>
runApp
(
MaterialApp
(
initialRoute:
'/guider'
,
routes:
{
'/'
:(
context
)
=>
HomeScreen
(),
'/guider'
:(
context
)
=>
I_guider
(),
void
main
(
)
=>
runApp
(
MyApp
());
},
));
class
MyApp
extends
StatelessWidget
{
Widget
build
(
BuildContext
context
)
{
return
MaterialApp
(
debugShowCheckedModeBanner:
false
,
home:
HomeScreen
(),
);
}
}
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