copyWith method
- @useResult
- FFormFieldStyle? formFieldStyle,
- FFocusedOutlineStyle? focusedOutlineStyle,
- IconThemeData? iconStyle,
- BorderRadius? borderRadius,
- double? borderWidth,
- EdgeInsets? pagePadding,
- List<
BoxShadow> ? shadow, - FTappableStyle? tappableStyle,
inherited
Returns a copy of this FStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FStyle copyWith({
FFormFieldStyle? formFieldStyle,
FFocusedOutlineStyle? focusedOutlineStyle,
IconThemeData? iconStyle,
BorderRadius? borderRadius,
double? borderWidth,
EdgeInsets? pagePadding,
List<BoxShadow>? shadow,
FTappableStyle? tappableStyle,
}) => FStyle(
formFieldStyle: formFieldStyle ?? this.formFieldStyle,
focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
iconStyle: iconStyle ?? this.iconStyle,
borderRadius: borderRadius ?? this.borderRadius,
borderWidth: borderWidth ?? this.borderWidth,
pagePadding: pagePadding ?? this.pagePadding,
shadow: shadow ?? this.shadow,
tappableStyle: tappableStyle ?? this.tappableStyle,
);