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
b9f32b97
Commit
b9f32b97
authored
May 03, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some codes in eanalyzerdash.dart
parent
861ff6c5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
140 additions
and
13 deletions
+140
-13
lib/EAnalyzerDash.dart
lib/EAnalyzerDash.dart
+132
-8
lib/assets/images/boralu.jpg
lib/assets/images/boralu.jpg
+0
-0
lib/assets/images/eana.png
lib/assets/images/eana.png
+0
-0
lib/assets/images/green.jpg
lib/assets/images/green.jpg
+0
-0
lib/assets/images/mino.jpg
lib/assets/images/mino.jpg
+0
-0
lib/home_screen.dart
lib/home_screen.dart
+4
-1
pubspec.lock
pubspec.lock
+2
-2
pubspec.yaml
pubspec.yaml
+2
-2
No files found.
lib/EAnalyzerDash.dart
View file @
b9f32b97
...
@@ -7,14 +7,138 @@ class EAnalyzerDash extends StatelessWidget {
...
@@ -7,14 +7,138 @@ class EAnalyzerDash extends StatelessWidget {
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
"EAnalyzer DashBoard"
),
title:
Text
(
"EAnalyzer DashBoard"
),
),
),
body:
Center
(
body:
Stack
(
child:
ElevatedButton
(
children:
<
Widget
>[
onPressed:
()
{
Container
(
// Navigate back to first route when tapped.
decoration:
BoxDecoration
(
Navigator
.
pop
(
context
);
image:
DecorationImage
(
},
alignment:
Alignment
.
topCenter
,
child:
Text
(
'Go back!'
),
image:
AssetImage
(
'lib/assets/images/green.jpg'
),
),
))),
SafeArea
(
child:
Padding
(
padding:
EdgeInsets
.
all
(
16.0
),
child:
Column
(
children:
<
Widget
>[
Container
(
height:
64
,
margin:
EdgeInsets
.
only
(
bottom:
20
),
child:
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
CircleAvatar
(
radius:
32
,
backgroundColor:
Colors
.
transparent
,
backgroundImage:
AssetImage
(
'lib/assets/images/eana.png'
),
),
SizedBox
(
width:
16
,
),
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Text
(
'EAnalyzer'
,
style:
TextStyle
(
fontSize:
35.0
,
color:
Colors
.
white
)),
],
)
],
),
),
Expanded
(
child:
GridView
.
count
(
mainAxisSpacing:
10
,
crossAxisSpacing:
10
,
primary:
false
,
crossAxisCount:
2
,
children:
<
Widget
>[
Card
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
8
)),
elevation:
4
,
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
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
))
],
)
),
Card
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
8
)),
elevation:
4
,
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
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
))
],
)
),
Card
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
8
)),
elevation:
4
,
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
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
))
],
)
),
Card
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
8
)),
elevation:
4
,
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
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
))
],
)
),
],
),
)
],
),
),
)
],
),
),
);
);
}
}
...
...
lib/assets/images/boralu.jpg
deleted
100644 → 0
View file @
861ff6c5
7.74 KB
lib/assets/images/eana.png
0 → 100644
View file @
b9f32b97
7.56 KB
lib/assets/images/green.jpg
0 → 100644
View file @
b9f32b97
179 KB
lib/assets/images/mino.jpg
deleted
100644 → 0
View file @
861ff6c5
81.9 KB
lib/home_screen.dart
View file @
b9f32b97
...
@@ -11,11 +11,14 @@ class _HomeScreenState extends State<HomeScreen> {
...
@@ -11,11 +11,14 @@ class _HomeScreenState extends State<HomeScreen> {
return
Scaffold
(
return
Scaffold
(
appBar:
AppBar
(
appBar:
AppBar
(
leading:
IconButton
(
icon:
Icon
(
Icons
.
menu
),
leading:
IconButton
(
icon:
Icon
(
Icons
.
menu
),
tooltip:
'Navigation menu'
,
onPressed:
(){
onPressed:
(){
}),
}),
title:
Text
(
"CoviDefender Dashboard"
),
title:
Text
(
"CoviDefender Dashboard"
),
actions:
<
Widget
>[
actions:
<
Widget
>[
IconButton
(
icon:
Icon
(
Icons
.
search
),
onPressed:
(){
IconButton
(
icon:
Icon
(
Icons
.
search
),
tooltip:
'Search'
,
onPressed:
(){
}),
}),
],
],
...
...
pubspec.lock
View file @
b9f32b97
...
@@ -127,7 +127,7 @@ packages:
...
@@ -127,7 +127,7 @@ packages:
name: source_span
name: source_span
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "1.8.
0
"
version: "1.8.
1
"
stack_trace:
stack_trace:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -162,7 +162,7 @@ packages:
...
@@ -162,7 +162,7 @@ packages:
name: test_api
name: test_api
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "0.
2.19
"
version: "0.
3.0
"
typed_data:
typed_data:
dependency: transitive
dependency: transitive
description:
description:
...
...
pubspec.yaml
View file @
b9f32b97
...
@@ -48,14 +48,14 @@ flutter:
...
@@ -48,14 +48,14 @@ flutter:
assets
:
assets
:
-
lib/assets/images/top_header.jpg
-
lib/assets/images/top_header.jpg
-
lib/assets/images/mino.jpg
-
lib/assets/images/green.jpg
-
lib/assets/images/boralu.jpg
-
lib/assets/images/map80.png
-
lib/assets/images/map80.png
-
lib/assets/images/man80.png
-
lib/assets/images/man80.png
-
lib/assets/images/bar80.png
-
lib/assets/images/bar80.png
-
lib/assets/images/coach80.png
-
lib/assets/images/coach80.png
-
lib/assets/images/time80.png
-
lib/assets/images/time80.png
-
lib/assets/images/event80.png
-
lib/assets/images/event80.png
-
lib/assets/images/eana.png
# To add assets to your application, add an assets section, like this:
# To add assets to your application, add an assets section, like this:
# assets:
# assets:
...
...
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