copyWith method
- @useResult
- BoxDecoration? decoration,
- EdgeInsetsGeometry? padding,
- FBottomNavigationBarItemStyle? itemStyle,
inherited
Returns a copy of this FBottomNavigationBarStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FBottomNavigationBarStyle copyWith({
BoxDecoration? decoration,
EdgeInsetsGeometry? padding,
FBottomNavigationBarItemStyle? itemStyle,
}) => FBottomNavigationBarStyle(
decoration: decoration ?? this.decoration,
padding: padding ?? this.padding,
itemStyle: itemStyle ?? this.itemStyle,
);