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,
|
filled: true,
|
||||||
fillColor: ColorsManager.textFieldGreyColor.withOpacity(0.5),
|
fillColor: ColorsManager.textFieldGreyColor.withOpacity(0.5),
|
||||||
suffixText: unit,
|
suffixText: unit,
|
||||||
hintStyle: context.textTheme.headlineMedium!.copyWith(
|
suffixStyle: context.textTheme.headlineMedium!.copyWith(
|
||||||
color: ColorsManager.primaryColorWithOpacity,
|
color: ColorsManager.primaryColorWithOpacity,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -94,14 +94,14 @@ class SliderValueSelector extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'Min: ${sliderRange.$1}',
|
'Min: ${sliderRange.$1}',
|
||||||
style: context.textTheme.bodySmall!.copyWith(
|
style: context.textTheme.labelSmall!.copyWith(
|
||||||
color: ColorsManager.lightGrayColor,
|
color: ColorsManager.lightGrayColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Text(
|
Text(
|
||||||
'Max: ${sliderRange.$2}',
|
'Max: ${sliderRange.$2}',
|
||||||
style: context.textTheme.bodySmall!.copyWith(
|
style: context.textTheme.labelSmall!.copyWith(
|
||||||
color: ColorsManager.lightGrayColor,
|
color: ColorsManager.lightGrayColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user