MUISlider class

Inheritance

Constructors

MUISlider.new({Key? key, double? height = 5, Color? inactiveColor = const Color(0xffECEFF1), Color? activeColor = Colors.black, Color? thumbColor = Colors.white, required void onChanged(double), required double value, required double min, required double max, void onChangeStart(double)?, void onChangeEnd(double)?})
const

Properties

activeColor Color?
Active Color for Slider ; default: Colors.black
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Height for Slider ; default: 5
final
inactiveColor Color?
Inactive Color for Slider ; default: Colors.grey
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
max double
Maximum Value for Slider ; default: 100
final
min double
Minimum Value for Slider ; default: 0
final
onChanged → void Function(double)
OnChanged for Slider
final
onChangeEnd → void Function(double)?
OnChangedEnd for Slider
final
onChangeStart → void Function(double)?
OnChangedStart for Slider
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbColor Color?
Thumb Color for Slider ; default: Colors.black
final
value double
Value for Slider
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<MUISlider>
Thumb Radius for Slider ; default: 10
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