mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Refactor SliderValueSelector layout by removing unnecessary SizedBox and adjusting spacing for improved UI consistency.
This commit is contained in:
@ -32,9 +32,9 @@ class SliderValueSelector extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Column(
|
return Column(
|
||||||
|
spacing: 16,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 20),
|
|
||||||
ConditionToggle(
|
ConditionToggle(
|
||||||
currentCondition: functionData.condition,
|
currentCondition: functionData.condition,
|
||||||
onChanged: onConditionChanged,
|
onChanged: onConditionChanged,
|
||||||
@ -43,7 +43,6 @@ class SliderValueSelector extends StatelessWidget {
|
|||||||
value: initialValue,
|
value: initialValue,
|
||||||
label: displayedValue,
|
label: displayedValue,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
|
||||||
FunctionSlider(
|
FunctionSlider(
|
||||||
initialValue: initialValue,
|
initialValue: initialValue,
|
||||||
range: sliderRange,
|
range: sliderRange,
|
||||||
|
Reference in New Issue
Block a user