copyWith method

  1. @useResult
FLabelStateStyles copyWith({
  1. FFormFieldStyle? enabledStyle,
  2. FFormFieldStyle? disabledStyle,
  3. 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,
    );