ToggleSwitchThemeData class

Theme data for ToggleSwitch.

Annotations

Constructors

ToggleSwitchThemeData({Color? disabledColor, Color? activeColor, Color? activeHoverColor, Color? inactiveColor, Color? inactiveHoverColor, Color? foreground})
Creates a ToggleSwitchThemeData.
const

Properties

activeColor Color?
The active color.
final
activeHoverColor Color?
The active hover color.
final
disabledColor Color?
The disabled color.
final
foreground Color?
The foreground color.
final
hashCode int
The hash code for this object.
no setteroverride
inactiveColor Color?
The inactive color.
final
inactiveHoverColor Color?
The inactive hover color.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Color? disabledColor, Color? activeColor, Color? activeHoverColor, Color? inactiveColor, Color? inactiveHoverColor, Color? foreground}) ToggleSwitchThemeData
Makes a copy of ToggleSwitchThemeData overwriting selected fields.
merge(ToggleSwitchThemeData? other) ToggleSwitchThemeData
Merges the theme data ToggleSwitchThemeData.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant ToggleSwitchThemeData other) bool
The equality operator.
override