copyWith method
- @useResult
- BoxDecoration? decoration,
- EdgeInsets? padding,
- FBottomNavigationBarItemStyle? itemStyle,
Returns a copy of this FBottomNavigationBarStyle with the given properties replaced.
Implementation
@useResult
FBottomNavigationBarStyle copyWith({
BoxDecoration? decoration,
EdgeInsets? padding,
FBottomNavigationBarItemStyle? itemStyle,
}) =>
FBottomNavigationBarStyle(
decoration: decoration ?? this.decoration,
padding: padding ?? this.padding,
itemStyle: itemStyle ?? this.itemStyle,
);