copyWith method
- @useResult
- FFormFieldStyle? enabledStyle,
- FFormFieldStyle? disabledStyle,
- FFormFieldErrorStyle? errorStyle,
Returns a copy of this FLabelStateStyles with the given properties replaced.
Implementation
@useResult
FLabelStateStyles copyWith({
FFormFieldStyle? enabledStyle,
FFormFieldStyle? disabledStyle,
FFormFieldErrorStyle? errorStyle,
}) =>
FLabelStateStyles(
enabledStyle: enabledStyle ?? this.enabledStyle,
disabledStyle: disabledStyle ?? this.disabledStyle,
errorStyle: errorStyle ?? this.errorStyle,
);