mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +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
|
||||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
spacing: 16,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const SizedBox(height: 20),
|
||||
ConditionToggle(
|
||||
currentCondition: functionData.condition,
|
||||
onChanged: onConditionChanged,
|
||||
@ -43,7 +43,6 @@ class SliderValueSelector extends StatelessWidget {
|
||||
value: initialValue,
|
||||
label: displayedValue,
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
FunctionSlider(
|
||||
initialValue: initialValue,
|
||||
range: sliderRange,
|
||||
|
Reference in New Issue
Block a user