Commit 2f462b4b authored by GayaniPKarunaratne's avatar GayaniPKarunaratne

Dashboard modification

parent d007015e
lib/assets/images/man80.png

4.45 KB | W: | H:

lib/assets/images/man80.png

4.39 KB | W: | H:

lib/assets/images/man80.png
lib/assets/images/man80.png
lib/assets/images/man80.png
lib/assets/images/man80.png
  • 2-up
  • Swipe
  • Onion skin
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class HomeScreen extends StatefulWidget {
_HomeScreenState createState() => _HomeScreenState();
......@@ -40,7 +39,7 @@ class _HomeScreenState extends State<HomeScreen> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text('John Richardo'),
Text('COVIDEFENDER', style: TextStyle(fontSize: 35.0, color: Colors.white)),
Text('20201190')
],
)
......@@ -68,7 +67,7 @@ class _HomeScreenState extends State<HomeScreen> {
image: AssetImage(
'lib/assets/images/man80.png')),
)),
Text('My Profile', style: TextStyle(fontSize: 30.0))
Text('My Profile', style: TextStyle(fontSize: 20.0))
],
)),
Card(
......@@ -85,7 +84,7 @@ class _HomeScreenState extends State<HomeScreen> {
image: AssetImage(
'lib/assets/images/map80.png')),
)),
Text('Map', style: TextStyle(fontSize: 30.0))
Text('Map', style: TextStyle(fontSize: 20.0))
],
)),
Card(
......@@ -102,7 +101,7 @@ class _HomeScreenState extends State<HomeScreen> {
image: AssetImage(
'lib/assets/images/bar80.png')),
)),
Text('QR Code')
Text('QR Code', style: TextStyle(fontSize: 20.0))
],
)),
Card(
......@@ -117,9 +116,9 @@ class _HomeScreenState extends State<HomeScreen> {
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(
'lib/assets/images/boralu.jpg')),
'lib/assets/images/coach80.png')),
)),
Text('Personal Data')
Text('Intelligent Guider', style: TextStyle(fontSize: 20.0))
],
)),
Card(
......@@ -134,9 +133,9 @@ class _HomeScreenState extends State<HomeScreen> {
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(
'lib/assets/images/mino.jpg')),
'lib/assets/images/time80.png')),
)),
Text('Personal Data')
Text('Travelling History', style: TextStyle(fontSize: 20.0))
],
)),
Card(
......@@ -151,9 +150,9 @@ class _HomeScreenState extends State<HomeScreen> {
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(
'lib/assets/images/boralu.jpg')),
'lib/assets/images/event80.png')),
)),
Text('Personal Data')
Text('Event Risk Analyzer', style: TextStyle(fontSize: 20.0))
],
)),
],
......
......@@ -53,6 +53,9 @@ flutter:
- lib/assets/images/map80.png
- lib/assets/images/man80.png
- lib/assets/images/bar80.png
- lib/assets/images/coach80.png
- lib/assets/images/time80.png
- lib/assets/images/event80.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