From 0c96f873636abd9cebd0d4dba856650ce940e32d Mon Sep 17 00:00:00 2001 From: Trang Nguyen <thi_huyen_trang.nguyen@student.reutlingen-university.de> Date: Wed, 9 Dec 2020 11:14:09 +0100 Subject: [PATCH] KAT-49: Added example data and improved design in lock_screen.dart --- .../lib/start_triage_system/lock_screen.dart | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/rescueapp/lib/start_triage_system/lock_screen.dart b/rescueapp/lib/start_triage_system/lock_screen.dart index f7ec9e4..0d6c18a 100644 --- a/rescueapp/lib/start_triage_system/lock_screen.dart +++ b/rescueapp/lib/start_triage_system/lock_screen.dart @@ -30,6 +30,7 @@ class _LockScreenState extends State<LockScreen> { color: Colors.blue[1000])), )), SizedBox( + width: 250, height: 40, child: Container( alignment: Alignment.centerLeft, @@ -40,17 +41,20 @@ class _LockScreenState extends State<LockScreen> { )), )), SizedBox( + width: 250, height: 40, child: Container( - decoration: BoxDecoration(color: Colors.grey[400]), alignment: Alignment.centerLeft, - child: Text('NULL', + child: Text('1', style: TextStyle( fontSize: 20, color: Colors.blue[900], )), )), SizedBox( + height: 20, + ), SizedBox( + width: 250, height: 40, child: Container( alignment: Alignment.centerLeft, @@ -58,17 +62,21 @@ class _LockScreenState extends State<LockScreen> { style: TextStyle(fontSize: 20, color: Colors.blue[900])), )), SizedBox( - height: 40, + width: 250, + height: 90, child: Container( - decoration: BoxDecoration(color: Colors.grey[400]), alignment: Alignment.centerLeft, - child: Text('NULL', + child: Text('Hochschule Reutlingen \nAlteburgstraße 150 \n72762 Reutlingen', style: TextStyle( fontSize: 20, color: Colors.blue[900], )), )), SizedBox( + height: 20, + ), + SizedBox( + width: 250, height: 40, child: Container( alignment: Alignment.centerLeft, @@ -76,18 +84,18 @@ class _LockScreenState extends State<LockScreen> { style: TextStyle(fontSize: 20, color: Colors.blue[900])), )), SizedBox( - height: 40, + width: 250, + height: 50, child: Container( - decoration: BoxDecoration(color: Colors.grey[400]), alignment: Alignment.centerLeft, - child: Text('NULL', + child: Text('15.07.2020/11:13', style: TextStyle( fontSize: 20, color: Colors.blue[900], )), )), SizedBox( - height: 80, + height: 50, ), SizedBox( width: 300, -- GitLab