ToggleStyle class

Constructors

ToggleStyle.new({Color activeColor = Colors.white, Color inactiveColor = Colors.white, Color activeToggleColor = Colors.blue, Color inactiveToggleColor = Colors.grey})
const

Properties

activeColor Color
The color to use on the switch when the switch is on.
final
activeToggleColor Color
The color to use on the toggle of the switch when the given value is true.
final
hashCode int
The hash code for this object.
no setterinherited
inactiveColor Color
The color to use on the switch when the switch is off.
final
inactiveToggleColor Color
The color to use on the toggle of the switch when the given value is false.
final
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