summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/dashboard
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-16 15:42:22 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-16 15:47:49 -0300
commit6a00ac1f8613048b5c1f7ecdbd1adcbbcfdca5ed (patch)
tree8cdd919f84a50007ae0364cba37bb8bdaf19f5fc /lib/presentation/screens/dashboard
parent94b78fd369c318baf1a98d4f510d791ea9f17017 (diff)
Disable value animation at start up % update FuelLevel path.
Remove some warnings. Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: I3693fa74f7995b4dcb016812403ed800702cb81c Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/presentation/screens/dashboard')
-rw-r--r--lib/presentation/screens/dashboard/widgets/circle_indicator.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presentation/screens/dashboard/widgets/circle_indicator.dart b/lib/presentation/screens/dashboard/widgets/circle_indicator.dart
index 7a4e724..8fe9533 100644
--- a/lib/presentation/screens/dashboard/widgets/circle_indicator.dart
+++ b/lib/presentation/screens/dashboard/widgets/circle_indicator.dart
@@ -285,7 +285,7 @@ class FuelProgressIndicatorState extends ConsumerState<FuelProgressIndicator>
width: 220,
child: CustomPaint(
foregroundPainter: CirclePainter(
- value: fuelLevel,
+ value: fuelLevel.toDouble(),
maxValue: maxFuelLevel,
isFuel: true,
isRPM: false),