SliderBottomSheet<T>  constructor 
      const
      SliderBottomSheet<T> ({ 
    
- Key? key,
- required String title,
- required TextStyle? headerTextStyle,
- required double min,
- required double max,
- required int? divisions,
- required Widget closeButton(- T,
- dynamic ()
 
- required ReactiveWidget<Widget> customSlider()?,
- required T state,
- required double value,
- required ImageEditorDesignMode designMode,
- required ThemeData theme,
- required StreamController<void> rebuildController,
- required dynamic onValueChanged(- double value
 
- IconData? resetIcon,
- bool showFactorInTitle = false,
Creates a SliderBottomSheet with the provided parameters for
customization and user interaction.
- title: The title displayed at the top of the bottom sheet.
- headerTextStyle: The text style for the title.
- resetIcon: An optional icon for resetting the slider's value.
- closeButton: A builder function for a custom close button.
- customSlider: A builder function for a custom slider.
- showFactorInTitle: Whether to show the factor value in the title.
- min: The minimum value for the slider.
- max: The maximum value for the slider.
- divisions: The number of discrete divisions on the slider.
- rebuildController: A stream controller for triggering UI updates.
- state: The state object associated with the bottom sheet.
- designMode: The design mode of the editor.
- theme: Theme data for styling the bottom sheet.
- value: The current value of the slider.
- onValueChanged: Callback triggered when the slider value changes.
Implementation
const SliderBottomSheet({
  super.key,
  required this.title,
  required this.headerTextStyle,
  required this.min,
  required this.max,
  required this.divisions,
  required this.closeButton,
  required this.customSlider,
  required this.state,
  required this.value,
  required this.designMode,
  required this.theme,
  required this.rebuildController,
  required this.onValueChanged,
  this.resetIcon,
  this.showFactorInTitle = false,
});