Layout simplifications and tweaks 38/28338/1
authorScott Murray <scott.murray@konsulko.com>
Thu, 29 Dec 2022 06:39:03 +0000 (01:39 -0500)
committerScott Murray <scott.murray@konsulko.com>
Fri, 30 Dec 2022 00:12:23 +0000 (00:12 +0000)
commit7e9b0b78a48b4fb26996d67a07277f86b69e18ed
treee1a8ab2a42db8101866c585e154ad4ab7cdf9e4b
parente6ecc5d46c7ebb11efbc674289c87e50f6d5dfbc
Layout simplifications and tweaks

Changes:
- Remove OrientationBuilder usage and landscape widget layout, as
  it complicates further rework due to not being as easily tested,
  and will be an ongoing maintenance hassle until landscape mode is
  actually required.
- Simplify layout by removing the arrows for tire pressure, and
  replacing the heavy Positioned usage with Row/Columns with some
  alignment directives.
- Swap the fuel and speed gauges to have the speed on the left, as
  that matches the typical cluster postion.
- Correct the aspect ratio of hero car image and increase its size
  to better fill available area.
- Tweaked label alignment and positioning on the temperature widgets
  to better make use of the available space.
- Corrected labels to 'km/h' in a couple of places.

Bug-AGL: SPEC-4660

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I45a15e2c4c9aa835745c754952979cda8baa90fa
lib/HomePage.dart
lib/provider.dart
lib/widgets/fuel_and_speed.dart
lib/widgets/weather.dart
pubspec.lock [new file with mode: 0644]
pubspec.yaml