Revert "flutter-dashboard: fix pixel overflow" 69/29369/1
authorScott Murray <scott.murray@konsulko.com>
Tue, 12 Dec 2023 15:05:14 +0000 (15:05 +0000)
committerScott Murray <scott.murray@konsulko.com>
Tue, 12 Dec 2023 15:05:14 +0000 (15:05 +0000)
This reverts commit d5f533481ed40ee2afb7f88911b59f5d464c959a.

Reason for revert: This changes the look of the application for the worse at 1920x1080, which is the only resolution we support for the demo images.

Change-Id: I112ab23ade98aae703c3f3a1f79ad06492dde195
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
lib/HomePage.dart

index e9861f6..36d8381 100644 (file)
@@ -84,9 +84,7 @@ class _HomePageState extends ConsumerState<HomePage> {
                     flex: 11,
                     child: Container(
                       //color: Colors.red,
-                      child: Row(
-                          mainAxisAlignment: MainAxisAlignment.spaceAround,
-                          children: [
+                      child: Row(children: [
                         Spacer(),
                         Column(
                           mainAxisAlignment: MainAxisAlignment.spaceEvenly,
@@ -102,11 +100,9 @@ class _HomePageState extends ConsumerState<HomePage> {
                                 height: SizeConfig.safeBlockVertical * 10),
                           ],
                         ),
-                      Expanded(child:
                         Image.asset(
                           'images/car_img.png',
                         ),
-                      ),
                         Column(
                           mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                           crossAxisAlignment: CrossAxisAlignment.center,