SliderBottomSheet<T> class

A bottom sheet widget with a slider, allowing users to adjust values within a specified range. The widget supports customization and dynamic UI updates.

Inheritance

Constructors

SliderBottomSheet({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(T, Stream<void>, double, dynamic (double), dynamic (double))?, required T state, required double value, required ImageEditorDesignMode designMode, required ThemeData theme, required StreamController<void> rebuildController, required dynamic onValueChanged(double), IconData? resetIcon, bool showFactorInTitle = false})
Creates a SliderBottomSheet with the provided parameters for customization and user interaction.
const

Properties

closeButton → Widget Function(T, dynamic ())?
A builder function for a custom close button.
final
customSlider → ReactiveWidget<Widget> Function(T, Stream<void>, double, dynamic (double), dynamic (double))?
A builder function for a custom slider.
final
designMode → ImageEditorDesignMode
The design mode of the editor.
final
divisions → int?
The number of discrete divisions on the slider.
final
hashCode → int
The hash code for this object.
no setterinherited
headerTextStyle → TextStyle?
The text style for the title.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
max → double
The maximum value for the slider.
final
min → double
The minimum value for the slider.
final
onValueChanged → dynamic Function(double)
Callback triggered when the slider value changes.
final
rebuildController → StreamController<void>
A stream controller for triggering UI updates.
final
resetIcon → IconData?
An optional icon for resetting the slider's value.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showFactorInTitle → bool
Whether to show the factor value in the title.
final
state → T
The state object associated with the bottom sheet.
final
theme → ThemeData
Theme data for styling the bottom sheet.
final
title → String
The title displayed at the top of the bottom sheet.
final
value → double
The current value of the slider.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<SliderBottomSheet<T>>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited