DetailedGlobalToggleProperties<T> class Null safety

Inheritance

Constructors

DetailedGlobalToggleProperties({required double dif, required Size indicatorSize, required Size switchSize, required double position, required T value, required T? previousValue, required List<T> values, required double previousPosition, required TextDirection textDirection, required ToggleMode mode})
const

Properties

current → T
The current value which is given to the switch.
finalinherited
dif double
The final width of the space between the icons.
final
hashCode int
The hash code for this object.
read-onlyinherited
indicatorSize Size
The final size of the indicator.
final
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.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited