copyWith method

  1. @useResult
FBreadcrumbStyle copyWith({
  1. FWidgetStateMap<TextStyle>? textStyle,
  2. IconThemeData? iconStyle,
  3. EdgeInsetsGeometry? padding,
  4. FTappableStyle tappableStyle(
    1. FTappableStyle style
    )?,
  5. FFocusedOutlineStyle focusedOutlineStyle(
    1. FFocusedOutlineStyle style
    )?,
})

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

Consider using the CLI to generate a style.

Parameters

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,
);