From 49439816d5c8ddca8f8e8f57cb1b19f62e59ce22 Mon Sep 17 00:00:00 2001 From: Faris Armoush Date: Thu, 10 Apr 2025 16:43:33 +0300 Subject: [PATCH] Update SliderValueSelector to improve text styling for unit and range labels --- lib/pages/routines/widgets/slider_value_selector.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pages/routines/widgets/slider_value_selector.dart b/lib/pages/routines/widgets/slider_value_selector.dart index dfcfeac4..db5c4675 100644 --- a/lib/pages/routines/widgets/slider_value_selector.dart +++ b/lib/pages/routines/widgets/slider_value_selector.dart @@ -83,7 +83,7 @@ class SliderValueSelector extends StatelessWidget { filled: true, fillColor: ColorsManager.textFieldGreyColor.withOpacity(0.5), suffixText: unit, - hintStyle: context.textTheme.headlineMedium!.copyWith( + suffixStyle: context.textTheme.headlineMedium!.copyWith( color: ColorsManager.primaryColorWithOpacity, ), ), @@ -94,14 +94,14 @@ class SliderValueSelector extends StatelessWidget { children: [ Text( 'Min: ${sliderRange.$1}', - style: context.textTheme.bodySmall!.copyWith( + style: context.textTheme.labelSmall!.copyWith( color: ColorsManager.lightGrayColor, ), ), const Spacer(), Text( 'Max: ${sliderRange.$2}', - style: context.textTheme.bodySmall!.copyWith( + style: context.textTheme.labelSmall!.copyWith( color: ColorsManager.lightGrayColor, ), ),