copyWith method
Returns a copy of this FFormFieldErrorStyle with the given properties replaced.
Implementation
@override
FSwitchErrorStyle copyWith({
TextStyle? labelTextStyle,
TextStyle? descriptionTextStyle,
TextStyle? errorTextStyle,
}) =>
FSwitchErrorStyle(
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
errorTextStyle: errorTextStyle ?? this.errorTextStyle,
);