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