copyWith method
- @useResult
- FVariantsDelta<
FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta> ? iconStyle, - FFocusedOutlineStyleDelta? focusedOutlineStyle,
- FTappableStyleDelta? tappableStyle,
Returns a copy of this FHeaderActionStyle with the given properties replaced.
See customizing widget styles.
Parameters
- FHeaderActionStyle.iconStyle - The icon's style.
- FHeaderActionStyle.focusedOutlineStyle - The outline style when this action is focused.
- FHeaderActionStyle.tappableStyle - The tappable's style.
Implementation
@useResult
FHeaderActionStyle copyWith({
FVariantsDelta<FTappableVariantConstraint, FTappableVariant, IconThemeData, IconThemeDataDelta>? iconStyle,
FFocusedOutlineStyleDelta? focusedOutlineStyle,
FTappableStyleDelta? tappableStyle,
}) => .new(
iconStyle: iconStyle?.call(this.iconStyle) ?? this.iconStyle,
focusedOutlineStyle: focusedOutlineStyle?.call(this.focusedOutlineStyle) ?? this.focusedOutlineStyle,
tappableStyle: tappableStyle?.call(this.tappableStyle) ?? this.tappableStyle,
);