SliderController class
The external controller for WidgetSlider.
Constructors
- SliderController({Duration duration = const Duration(milliseconds: 350), Curve curve = Curves.easeOut})
Properties
- curve → Curve
-
Curve style of sub-function's animations.
final
- duration → Duration
-
Duration value of sub-function's animations.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
moveTo
↔ Future<
void> Function(int i)? -
Navigates to item at given index(i).
getter/setter pair
-
moveToNext
↔ Future<
void> Function()? -
Navigates to next(current+1) item.
getter/setter pair
-
moveToPrevious
↔ Future<
void> Function()? -
Navigates to previous(current-1) item.
getter/setter pair
- 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.
inherited