mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Update SliderValueSelector to improve text styling for unit and range labels
This commit is contained in:
@ -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,
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user