copyWith method
Returns a copy of this FBottomNavigationBarItemStyle with the given properties replaced.
Implementation
@useResult
FBottomNavigationBarItemStyle copyWith({
Color? activeIconColor,
Color? inactiveIconColor,
double? iconSize,
TextStyle? activeTextStyle,
TextStyle? inactiveTextStyle,
EdgeInsets? padding,
}) =>
FBottomNavigationBarItemStyle(
activeIconColor: activeIconColor ?? this.activeIconColor,
inactiveIconColor: inactiveIconColor ?? this.inactiveIconColor,
iconSize: iconSize ?? this.iconSize,
activeTextStyle: activeTextStyle ?? this.activeTextStyle,
inactiveTextStyle: inactiveTextStyle ?? this.inactiveTextStyle,
padding: padding ?? this.padding,
);