copyWith method

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

Returns a copy of this FHeaderActionStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FHeaderActionStyle copyWith({
  FWidgetStateMap<IconThemeData>? iconStyle,
  FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
  FTappableStyle Function(FTappableStyle style)? tappableStyle,
}) => FHeaderActionStyle(
  iconStyle: iconStyle ?? this.iconStyle,
  focusedOutlineStyle: focusedOutlineStyle != null
      ? focusedOutlineStyle(this.focusedOutlineStyle)
      : this.focusedOutlineStyle,
  tappableStyle: tappableStyle != null ? tappableStyle(this.tappableStyle) : this.tappableStyle,
);