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
861ff6c5
Commit
861ff6c5
authored
May 01, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Done intent part in code
parent
c80dd460
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
lib/EAnalyzerDash.dart
lib/EAnalyzerDash.dart
+12
-1
lib/home_screen.dart
lib/home_screen.dart
+11
-9
No files found.
lib/EAnalyzerDash.dart
View file @
861ff6c5
...
...
@@ -4,7 +4,18 @@ class EAnalyzerDash extends StatelessWidget {
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
Text
(
"EAnalyzer DashBoard"
),
),
body:
Center
(
child:
ElevatedButton
(
onPressed:
()
{
// Navigate back to first route when tapped.
Navigator
.
pop
(
context
);
},
child:
Text
(
'Go back!'
),
),
),
);
}
}
\ No newline at end of file
lib/home_screen.dart
View file @
861ff6c5
...
...
@@ -10,8 +10,8 @@ class _HomeScreenState extends State<HomeScreen> {
var
size
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
appBar:
AppBar
(
leading:
IconButton
(
icon:
Icon
(
Icons
.
menu
),
onPressed:
(){
leading:
IconButton
(
icon:
Icon
(
Icons
.
menu
),
onPressed:
(){
}),
title:
Text
(
"CoviDefender Dashboard"
),
actions:
<
Widget
>[
...
...
@@ -159,13 +159,15 @@ class _HomeScreenState extends State<HomeScreen> {
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
Container
(
height:
size
.
height
*
.
1
,
decoration:
BoxDecoration
(
image:
DecorationImage
(
image:
AssetImage
(
'lib/assets/images/event80.png'
)),
)),
FlatButton
(
onPressed:
()
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
EAnalyzerDash
()),
);
},
child:
Image
.
asset
(
'lib/assets/images/event80.png'
),
),
Text
(
'Event Risk Analyzer'
,
style:
TextStyle
(
fontSize:
20.0
))
// onPressed: (){
// Navigator.push(context,
...
...
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