copyWith method

  1. @useResult
FHeaderActionStyle copyWith({
  1. FWidgetStateMap<IconThemeData>? iconStyle,
  2. FFocusedOutlineStyle? focusedOutlineStyle,
  3. FTappableStyle? tappableStyle,
})
inherited

Returns a copy of this FHeaderActionStyle 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
FHeaderActionStyle copyWith({
  FWidgetStateMap<IconThemeData>? iconStyle,
  FFocusedOutlineStyle? focusedOutlineStyle,
  FTappableStyle? tappableStyle,
}) => FHeaderActionStyle(
  iconStyle: iconStyle ?? this.iconStyle,
  focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
  tappableStyle: tappableStyle ?? this.tappableStyle,
);