copyWith method
Implementation
CupertinoBottomBarTheme copyWith({
Color? selectedItemColor,
Color? unselectedItemColor,
Color? bgColor,
BottomNavigationBarType? type,
double? iconSize,
double? height,
Border? border,
}) {
return CupertinoBottomBarTheme(
bgColor: bgColor ?? this.bgColor,
height: height ?? this.height,
selectedItemColor: selectedItemColor ?? this.selectedItemColor,
unselectedItemColor: unselectedItemColor ?? this.unselectedItemColor,
type: type ?? this.type,
iconSize: iconSize ?? this.iconSize,
border: border ?? this.border,
);
}