copyWith method
- @useResult
- FWidgetStateMap<
TextStyle> ? textStyle, - IconThemeData? iconStyle,
- EdgeInsetsGeometry? padding,
- FTappableStyle tappableStyle(
- FTappableStyle style
- FFocusedOutlineStyle focusedOutlineStyle(
- FFocusedOutlineStyle style
Returns a copy of this FBreadcrumbStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FBreadcrumbStyle.textStyle - The text style.
- FBreadcrumbStyle.iconStyle - The divider icon style.
- FBreadcrumbStyle.padding - The padding.
- FBreadcrumbStyle.tappableStyle - The tappable's style.
- FBreadcrumbStyle.focusedOutlineStyle - The focused outline style.
Implementation
@useResult
FBreadcrumbStyle copyWith({
FWidgetStateMap<TextStyle>? textStyle,
IconThemeData? iconStyle,
EdgeInsetsGeometry? padding,
FTappableStyle Function(FTappableStyle style)? tappableStyle,
FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
}) => FBreadcrumbStyle(
textStyle: textStyle ?? this.textStyle,
iconStyle: iconStyle ?? this.iconStyle,
padding: padding ?? this.padding,
tappableStyle: tappableStyle != null ? tappableStyle(this.tappableStyle) : this.tappableStyle,
focusedOutlineStyle: focusedOutlineStyle != null
? focusedOutlineStyle(this.focusedOutlineStyle)
: this.focusedOutlineStyle,
);