copyWith method

  1. @useResult
FBottomNavigationBarStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsetsGeometry? padding,
  3. 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,
);