copyWith method

CupertinoBottomBarTheme copyWith({
  1. Color? selectedItemColor,
  2. Color? unselectedItemColor,
  3. Color? bgColor,
  4. BottomNavigationBarType? type,
  5. double? iconSize,
  6. double? height,
  7. Border? border,
})

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,
  );
}