DetailedGlobalToggleProperties<T> class

Inheritance

Constructors

DetailedGlobalToggleProperties({required double spacing, required Size indicatorSize, required Size switchSize, 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
finalinherited
current → T
The current value which is given to the switch.
finalinherited
currentIndex int
The index of current in values.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
indicatorSize Size
The final size of the indicator.
final
isCurrentListed bool
This value indicates if values does contain current.
no setterinherited
loadingAnimationValue double
Indicates the progress of the loading animation. 0 means 'not loading' and 1 means 'loading'.
finalinherited
mode ToggleMode
The current ToggleMode of the switch.
finalinherited
position double
The position of the indicator relative to the indices of the values.
finalinherited
previous → T?
The previous value of the switch.
finalinherited
previousPosition double
The previous position of the indicator relative to the indices of the values.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
The final width of the space between the icons.
final
spacingSize Size
no setter
switchSize Size
The size of the switch exclusive the outer wrapper
final
textDirection TextDirection
The TextDirection of the switch.
finalinherited
values List<T>
The values which are given to the switch.
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