copyWith method
- @useResult
- FFormFieldStyle? enabledFormFieldStyle,
- FFormFieldStyle? disabledFormFieldStyle,
- FFormFieldErrorStyle? errorFormFieldStyle,
- FFocusedOutlineStyle? focusedOutlineStyle,
- FIconStyle? iconStyle,
- BorderRadius? borderRadius,
- double? borderWidth,
- EdgeInsets? pagePadding,
Returns a copy of this FStyle with the given properties replaced.
Implementation
@useResult
FStyle copyWith({
FFormFieldStyle? enabledFormFieldStyle,
FFormFieldStyle? disabledFormFieldStyle,
FFormFieldErrorStyle? errorFormFieldStyle,
FFocusedOutlineStyle? focusedOutlineStyle,
FIconStyle? iconStyle,
BorderRadius? borderRadius,
double? borderWidth,
EdgeInsets? pagePadding,
}) =>
FStyle(
enabledFormFieldStyle: enabledFormFieldStyle ?? this.enabledFormFieldStyle,
disabledFormFieldStyle: disabledFormFieldStyle ?? this.disabledFormFieldStyle,
errorFormFieldStyle: errorFormFieldStyle ?? this.errorFormFieldStyle,
focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
iconStyle: iconStyle ?? this.iconStyle,
borderRadius: borderRadius ?? this.borderRadius,
borderWidth: borderWidth ?? this.borderWidth,
pagePadding: pagePadding ?? this.pagePadding,
);