From 6c4c4a7ed534052b732c3f5c062539cafdcb0c94 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 2 Jun 2020 21:27:57 +0530 Subject: Prettification + formatting --- lib/pages/Home.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/pages') diff --git a/lib/pages/Home.dart b/lib/pages/Home.dart index 8913fdb..09582b7 100644 --- a/lib/pages/Home.dart +++ b/lib/pages/Home.dart @@ -8,9 +8,9 @@ class StatusInfoCard extends StatelessWidget { StatusInfoCard(this.time$, { this.defaultTime }): super(); - final timeFormat = new DateFormat.jm(); // hm fr 24 hrs - final dateFormat = DateFormat('d MMMM'); - + final timeFormat = DateFormat('h:m a'); // H fr 24 hrs + final dateFormat = DateFormat('EEEE, d MMM'); + @override Widget build(BuildContext ctx) { return StreamBuilder( @@ -36,7 +36,8 @@ class StatusInfoCard extends StatelessWidget { key: Key('date'), textAlign: TextAlign.left, style: const TextStyle( - fontSize: 20.0, + fontSize: 16.0, + fontWeight: FontWeight.w300, ), ), ] -- cgit v1.3.1