SliderMode class

Constructors

SliderMode({required dynamic key, bool expanded = false, bool result = false})
const
SliderMode.jump(double pos)
const

Properties

custom bool
Indicates whether this mode is not natively provided by this package.
final
expanded bool
Specifies the slider to be expanded in this mode. Otherwise it is compact.
final
hashCode int
The hash code for this object.
no setteroverride
isJump bool
Indicates whether this mode is a SliderMode.jump.
no setter
jumpPosition double
Specifies how far the toggle should jump between 0 and 1. To adjust this value, please use SliderMode.jump.
final
key → dynamic
A unique key for this mode, which is used for the equals method.
final
result bool
Indicates whether this mode is a result like success and failure. If so, by default the change is highlighted more clearly in the slider.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
override

Constants

failure → const SliderMode
loading → const SliderMode
standard → const SliderMode
success → const SliderMode