From 1381bc6537e7cb8f7eb9c18a2a4df10b9d1eec47 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 4 Jun 2020 16:09:28 +0530 Subject: Removes theme button --- lib/pages/Home.dart | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'lib/pages/Home.dart') diff --git a/lib/pages/Home.dart b/lib/pages/Home.dart index 3e22f93..b812288 100644 --- a/lib/pages/Home.dart +++ b/lib/pages/Home.dart @@ -53,19 +53,20 @@ class StatusInfoCard extends StatelessWidget { Container( width: 40, height: 30, - child: IconButton( - padding: const EdgeInsets.all(0.0), - visualDensity: const VisualDensity(vertical: 0.0, horizontal: 0.0), - icon: Icon( - Icons.brightness_4, - color: theme.primaryColor, - size: 16.0, - semanticLabel: 'Toggle dark mode', - ), - tooltip: 'Toggle dark mode', - enableFeedback: true, - onPressed: () { toggleTheme(); } - ), + child: Text(''), + //child: IconButton( + //padding: const EdgeInsets.all(0.0), + //visualDensity: const VisualDensity(vertical: 0.0, horizontal: 0.0), + //icon: Icon( + //Icons.brightness_4, + //color: theme.primaryColor, + //size: 16.0, + //semanticLabel: 'Toggle dark mode', + //), + //tooltip: 'Toggle dark mode', + //enableFeedback: true, + //onPressed: () { toggleTheme(); } + //), ), ], ), -- cgit v1.3.1