GlobalToggleProperties<T> class
- Implementers
Constructors
-
GlobalToggleProperties({required double position, required T current, required int currentIndex, required T? previous, required List<
T> values, required double previousPosition, required TextDirection textDirection, required ToggleMode mode, required double loadingAnimationValue, required bool active, required Animation<double> indicatorAppearingAnimation}) -
const
Properties
- active → bool
-
final
- current → T
-
The current value which is given to the switch.
final
- currentIndex → int
-
The index of current in values.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCurrentListed → bool
-
This value indicates if values does contain current.
no setter
- loadingAnimationValue → double
-
Indicates the progress of the loading animation.
0
means 'not loading' and1
means 'loading'.final - mode → ToggleMode
-
The current ToggleMode of the switch.
final
- position → double
-
The position of the indicator relative to the indices of the values.
final
- previous → T?
-
The previous value of the switch.
final
- previousPosition → double
-
The previous position of the indicator relative
to the indices of the values.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textDirection → TextDirection
-
The TextDirection of the switch.
final
-
values
→ List<
T> -
The values which are given to the switch.
final
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