copyWith method
Creates a copy of this theme with the given fields replaced by the new values.
If a field is not provided, the existing value is retained.
Implementation
LabeledSwitchThemeData copyWith({
ButtonStyle? style,
SwitchThemeData? switchTheme,
}) => LabeledSwitchThemeData(
style: style ?? this.style,
switchTheme: switchTheme ?? this.switchTheme,
);