Add CpsDialogSliderSelector for enhanced slider functionality and integrate with CeilingSensorDialog

This commit is contained in:
Faris Armoush
2025-04-10 15:15:20 +03:00
parent 551779c33a
commit cf103d5a7c
3 changed files with 129 additions and 23 deletions

View File

@ -46,20 +46,8 @@ class SliderValueSelector extends StatelessWidget {
const SizedBox(height: 20),
FunctionSlider(
initialValue: initialValue,
range: sliderRange, onChanged: onSliderChanged,
// void _updateValue(BuildContext context, int value) {
// context.read<FunctionBloc>().add(
// AddFunction(
// functionData: DeviceFunctionData(
// entityId: device?.uuid ?? '',
// functionCode: functionCode,
// operationName: functionData.operationName,
// value: value,
// condition: functionData.condition,
// ),
// ),
// );
// }
range: sliderRange,
onChanged: onSliderChanged,
),
],
);