copyWith method
- @useResult
- FWidgetStateMap<TextStyle> ? textStyle,
- IconThemeData? iconStyle,
- EdgeInsetsGeometry? padding,
- FTappableStyle tappableStyle()?,
- FFocusedOutlineStyle focusedOutlineStyle()?,
Returns a copy of this FBreadcrumbStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
textStyle
The text style.
iconStyle
The divider icon style.
padding
The padding. Defaults to EdgeInsets.symmetric(horizontal: 5).
tappableStyle
The tappable's style.
focusedOutlineStyle
The focused outline style.
Implementation
@useResult
FBreadcrumbStyle copyWith({
  FWidgetStateMap<TextStyle>? textStyle,
  IconThemeData? iconStyle,
  EdgeInsetsGeometry? padding,
  FTappableStyle Function(FTappableStyle)? tappableStyle,
  FFocusedOutlineStyle Function(FFocusedOutlineStyle)? 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,
);