GlobalToggleProperties<T> class Null safety

Implementers

Constructors

GlobalToggleProperties({required double position, required T current, required T? previous, 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.
final
hashCode int
The hash code for this object.
read-onlyinherited
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.
read-onlyinherited
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 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