diff options
Diffstat (limited to 'lib/presentation/screens/dashboard/widgets')
-rw-r--r-- | lib/presentation/screens/dashboard/widgets/circle_indicator.dart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/presentation/screens/dashboard/widgets/circle_indicator.dart b/lib/presentation/screens/dashboard/widgets/circle_indicator.dart index 8fe9533..6ff3613 100644 --- a/lib/presentation/screens/dashboard/widgets/circle_indicator.dart +++ b/lib/presentation/screens/dashboard/widgets/circle_indicator.dart @@ -46,7 +46,7 @@ class RPMProgressIndicatorState extends ConsumerState<RPMProgressIndicator> children: [ Text( - rpm.toString(), + rpm.toStringAsFixed(0), style: GoogleFonts.brunoAce( textStyle: const TextStyle(color: Colors.white, fontSize: 44), ), @@ -87,7 +87,7 @@ class RPMProgressIndicatorState extends ConsumerState<RPMProgressIndicator> width: 220, child: CustomPaint( foregroundPainter: CirclePainter( - value: rpm.toDouble(), + value: rpm, maxValue: maxRpm.toDouble(), isRPM: true, ), |