copyWith method

  1. @useResult
FBottomNavigationBarStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsets? padding,
  3. FFocusedOutlineStyle? focusedOutlineStyle,
  4. FBottomNavigationBarItemStyle? itemStyle,
})

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

Implementation

@useResult
FBottomNavigationBarStyle copyWith({
  BoxDecoration? decoration,
  EdgeInsets? padding,
  FFocusedOutlineStyle? focusedOutlineStyle,
  FBottomNavigationBarItemStyle? itemStyle,
}) =>
    FBottomNavigationBarStyle(
      decoration: decoration ?? this.decoration,
      padding: padding ?? this.padding,
      focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
      itemStyle: itemStyle ?? this.itemStyle,
    );