copyWith method
BreadcrumbThemeData
copyWith({
- EdgeInsets? padding,
- double? height,
- double? itemSpacing,
- Color? color,
- IconThemeData? iconTheme,
- TextStyle? textStyle,
- Color? backgroundColor,
- Color? highlightColor,
Makes a copy of BreadcrumbThemeData overwriting selected fields.
Implementation
BreadcrumbThemeData copyWith({
EdgeInsets? padding,
double? height,
double? itemSpacing,
Color? color,
IconThemeData? iconTheme,
TextStyle? textStyle,
Color? backgroundColor,
Color? highlightColor,
}) {
return BreadcrumbThemeData(
padding: padding ?? this.padding,
height: height ?? this.height,
itemSpacing: itemSpacing ?? this.itemSpacing,
color: color ?? this.color,
iconTheme: iconTheme ?? this.iconTheme,
textStyle: textStyle ?? this.textStyle,
backgroundColor: backgroundColor ?? this.backgroundColor,
highlightColor: highlightColor ?? this.highlightColor,
);
}