MultiSlider class Null safety

Inheritance

Constructors

MultiSlider({required List<double> values, required ValueChanged<List<double>>? onChanged, double max = 1, double min = 0, ValueChanged<List<double>>? onChangeStart, ValueChanged<List<double>>? onChangeEnd, Color? color, double horizontalPadding = 26.0, double height = 45, int? divisions, ValueRangePainterCallback? valueRangePainterCallback, Key? key})

Properties

color Color?
Bar and indicators active color.
final
divisions int?
Number of divisions for discrete Slider.
final
hashCode int
The hash code for this object.
@nonVirtualread-onlyinherited
height double
MultiSlider vertical dimension. Used by GestureDetector and CustomPainter.
final
horizontalPadding double
Empty space between the MultiSlider bar and the end of GestureDetector zone.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
max double
MultiSlider maximum value.
final
min double
MultiSlider minimum value.
final
onChanged ValueChanged<List<double>>?
Callback for every user slide gesture.
final
onChangeEnd ValueChanged<List<double>>?
Callback for every time user stop click/slide on this widget.
final
onChangeStart ValueChanged<List<double>>?
Callback for every time user click on this widget.
final
range double
Difference between max and min. Must be positive!
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
valueRangePainterCallback → ValueRangePainterCallback?
Used to decide how a line between values or the boundaries should be painted. Returns bool and pass an ValueRange object as parameter.
final
values List<double>
List of ordered values which will be changed by user gestures with this widget.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _MultiSliderState
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.
@protectedinherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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}) 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.
@nonVirtualinherited