MaterialSliderData class final
- Inheritance
-
- Object
- PlatformSliderData
- MaterialSliderData
Constructors
-
MaterialSliderData({double? value, ValueChanged<
double> ? onChanged, Key? widgetKey, bool isEnabled = true, ValueChanged<double> ? onChangeStart, ValueChanged<double> ? onChangeEnd, double min = kDefaultMin, double max = kDefaultMax, int? divisions, Color? activeColor, Color? thumbColor, double? secondaryTrackValue, String? label, Color? inactiveColor, Color? secondaryActiveColor, WidgetStateProperty<Color> ? overlayColor, MouseCursor? mouseCursor, SemanticFormatterCallback? semanticFormatterCallback, FocusNode? focusNode, bool autofocus = kDefaultAutofocus, SliderInteraction? allowedInteraction, EdgeInsetsGeometry? padding}) -
const
Properties
- activeColor → Color?
-
finalinherited
- allowedInteraction → SliderInteraction?
-
final
- autofocus → bool
-
final
- divisions → int?
-
finalinherited
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveColor → Color?
-
final
- isEnabled → bool
-
finalinherited
- label → String?
-
final
- max → double
-
finalinherited
- min → double
-
finalinherited
- mouseCursor → MouseCursor?
-
final
-
onChanged
→ ValueChanged<
double> ? -
finalinherited
-
onChangeEnd
→ ValueChanged<
double> ? -
finalinherited
-
onChangeStart
→ ValueChanged<
double> ? -
finalinherited
-
overlayColor
→ WidgetStateProperty<
Color> ? -
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryActiveColor → Color?
-
final
- secondaryTrackValue → double?
-
final
- semanticFormatterCallback → SemanticFormatterCallback?
-
final
- thumbColor → Color?
-
finalinherited
- value → double?
-
finalinherited
- widgetKey → Key?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDefaultAutofocus → const bool