aboutsummaryrefslogtreecommitdiff
path: root/lib/pages/Home.dart
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-02 21:27:57 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-02 21:27:57 +0530
commit6c4c4a7ed534052b732c3f5c062539cafdcb0c94 (patch)
treebe960e016065c33f81eab476a0705eef394c599c /lib/pages/Home.dart
parent757e907a21921ddedb8e39f567449f2e32fd2751 (diff)
downloaddaft-launcher-6c4c4a7ed534052b732c3f5c062539cafdcb0c94.tar.gz
daft-launcher-6c4c4a7ed534052b732c3f5c062539cafdcb0c94.zip
Prettification + formatting
Diffstat (limited to '')
-rw-r--r--lib/pages/Home.dart9
1 files changed, 5 insertions, 4 deletions
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<DateTime>(
@@ -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,
),
),
]