copyWith method
- @useResult
- FWidgetStateMap<
IconThemeData> ? iconStyle, - FFocusedOutlineStyle? focusedOutlineStyle,
- 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,
);