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
3580ec87
Commit
3580ec87
authored
May 05, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modification in Loading page
parent
769041dc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
3 deletions
+41
-3
lib/EAnalyzer/AddLocation.dart
lib/EAnalyzer/AddLocation.dart
+0
-0
lib/EAnalyzer/EAnalyzerDash.dart
lib/EAnalyzer/EAnalyzerDash.dart
+1
-1
lib/EAnalyzer/Loading.dart
lib/EAnalyzer/Loading.dart
+37
-0
lib/home_screen.dart
lib/home_screen.dart
+3
-2
No files found.
lib/AddLocation.dart
→
lib/
EAnalyzer/
AddLocation.dart
View file @
3580ec87
File moved
lib/EAnalyzerDash.dart
→
lib/EAnalyzer
/EAnalyzer
Dash.dart
View file @
3580ec87
...
...
@@ -8,7 +8,7 @@ class EAnalyzerDash extends StatelessWidget {
return
Scaffold
(
appBar:
AppBar
(
backwardsCompatibility:
false
,
systemOverlayStyle:
SystemUiOverlayStyle
(
statusBarColor:
Colors
.
blue
.
shade90
0
),
backgroundColor:
Color
(
0xFF1B5E2
0
),
title:
Text
(
"EAnalyzer DashBoard"
),
),
body:
Stack
(
...
...
lib/EAnalyzer/Loading.dart
0 → 100644
View file @
3580ec87
import
'dart:async'
;
import
'package:covidefender/EAnalyzer/EAnalyzerDash.dart'
;
import
'package:flutter/material.dart'
;
class
LoadingScreen
extends
StatefulWidget
{
@override
_LoadingScreenState
createState
()
=>
_LoadingScreenState
();
}
class
_LoadingScreenState
extends
State
<
LoadingScreen
>
{
@override
void
initState
()
{
super
.
initState
();
Timer
(
Duration
(
seconds:
3
),
()
{
Navigator
.
of
(
context
).
pushReplacement
(
MaterialPageRoute
(
builder:
(
context
)
=>
EAnalyzerDash
(),
));
});
}
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
backgroundColor:
Colors
.
green
.
shade300
,
body:
Stack
(
children:
<
Widget
>[
Container
(
decoration:
BoxDecoration
(
image:
DecorationImage
(
alignment:
Alignment
.
topCenter
,
image:
AssetImage
(
'lib/assets/images/eana.png'
),
))),
]
),
);
}
}
\ No newline at end of file
lib/home_screen.dart
View file @
3580ec87
import
'package:covidefender/STracker/splash.dart'
;
import
'package:covidefender/EAnalyzer/Loading.dart'
;
import
'package:flutter/material.dart'
;
import
'
EAnalyzerDash
.dart'
;
import
'
package:flutter/services
.dart'
;
class
HomeScreen
extends
StatefulWidget
{
_HomeScreenState
createState
()
=>
_HomeScreenState
();
...
...
@@ -178,7 +179,7 @@ class _HomeScreenState extends State<HomeScreen> {
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
EAnalyzerDash
()),
LoadingScreen
()),
);
},
child:
Image
.
asset
(
...
...
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