Commit e84672cb authored by GayaniPKarunaratne's avatar GayaniPKarunaratne

Merge branch 'EAnalyzer_KarunaratneGP' of http://gitlab.sliit.lk/2021-035/2021-035-covidefender

parents fbf3a432 2f2f350e
import 'package:flutter/material.dart';
class AddLocation extends StatefulWidget {
@override
AddLocationState createState() => AddLocationState();
}
class AddLocationState extends State<AddLocation> {
@override
Widget build(BuildContext context) {
return Container(
);
}
}
\ No newline at end of file
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'AddLocation.dart';
class EAnalyzerDash extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backwardsCompatibility: false,
systemOverlayStyle: SystemUiOverlayStyle(statusBarColor: Colors.blue.shade900),
title: Text("EAnalyzer DashBoard"),
),
body: Stack(
......@@ -62,12 +66,12 @@ class EAnalyzerDash extends StatelessWidget {
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => EAnalyzerDash()),
MaterialPageRoute(builder: (context) => AddLocation()),
);
},
child: Image.asset('lib/assets/images/event80.png'),
child: Image.asset('lib/assets/images/add80.png'),
),
Text('Event Risk Analyzer', style: TextStyle(fontSize: 20.0))
Text('Add', style: TextStyle(fontSize: 20.0)),
],
)
),
......@@ -85,9 +89,9 @@ class EAnalyzerDash extends StatelessWidget {
MaterialPageRoute(builder: (context) => EAnalyzerDash()),
);
},
child: Image.asset('lib/assets/images/event80.png'),
child: Image.asset('lib/assets/images/feedback80.png'),
),
Text('Event Risk Analyzer', style: TextStyle(fontSize: 20.0))
Text('FeedBack', style: TextStyle(fontSize: 20.0))
],
)
),
......@@ -105,9 +109,9 @@ class EAnalyzerDash extends StatelessWidget {
MaterialPageRoute(builder: (context) => EAnalyzerDash()),
);
},
child: Image.asset('lib/assets/images/event80.png'),
child: Image.asset('lib/assets/images/list80.png'),
),
Text('Event Risk Analyzer', style: TextStyle(fontSize: 20.0))
Text('Risk Event List', style: TextStyle(fontSize: 20.0))
],
)
),
......@@ -125,9 +129,9 @@ class EAnalyzerDash extends StatelessWidget {
MaterialPageRoute(builder: (context) => EAnalyzerDash()),
);
},
child: Image.asset('lib/assets/images/event80.png'),
child: Image.asset('lib/assets/images/search80.png'),
),
Text('Event Risk Analyzer', style: TextStyle(fontSize: 20.0))
Text('Search an Event', style: TextStyle(fontSize: 20.0))
],
)
),
......
......@@ -56,6 +56,10 @@ flutter:
- lib/assets/images/time80.png
- lib/assets/images/event80.png
- lib/assets/images/eana.png
- lib/assets/images/add80.png
- lib/assets/images/feedback80.png
- lib/assets/images/list80.png
- lib/assets/images/search80.png
# To add assets to your application, add an assets section, like this:
# assets:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment