copyWith method

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