LabeledSwitchThemeData class
Theme data for customizing labeled switches in the RRulePicker widget.
Constructors
- LabeledSwitchThemeData({ButtonStyle? style, SwitchThemeData? switchTheme})
-
Creates a new LabeledSwitchThemeData with the provided styling options.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → ButtonStyle?
-
The style for the button part of the labeled switch.
final
- switchTheme → SwitchThemeData?
-
The theme for the switch part of the labeled switch.
final
Methods
-
copyWith(
{ButtonStyle? style, SwitchThemeData? switchTheme}) → LabeledSwitchThemeData - Creates a copy of this theme with the given fields replaced by the new values.
-
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.
override
Static Methods
-
lerp(
LabeledSwitchThemeData? a, LabeledSwitchThemeData? b, double t) → LabeledSwitchThemeData? - Linearly interpolates between two labeled switch themes.
Constants
- defaultPadding → const EdgeInsets
- Default padding used by style.
- defaultShape → const StadiumBorder
- Default shape used by style.