IDSBottomNavigationAppBar constructor
const
IDSBottomNavigationAppBar({
- required List<
IDSBottomNavBarItem> items, - String? centerItemText,
- double height = 70.0,
- double iconSize = 20.0,
- double iconTextSpace = 10.0,
- Color? backgroundColor,
- Color? inActiveColor,
- Color? activeColor,
- NotchedShape? notchedShape,
- ValueChanged<
int> ? onTabSelected, - bool centerSelected = false,
- bool enableMiddleTabItem = true,
- bool enableTopShadow = true,
- double blurRadius = 2.0,
- double spreadRadius = 0.2,
- double offset = -2,
- Color? shadowColor = Colors.black12,
- Key? key,
IDSBottomNavigationAppBar
Implementation
const IDSBottomNavigationAppBar({
required this.items,
this.centerItemText,
this.height = 70.0,
this.iconSize = 20.0,
this.iconTextSpace = 10.0,
this.backgroundColor,
this.inActiveColor,
this.activeColor,
this.notchedShape,
this.onTabSelected,
this.centerSelected = false,
this.enableMiddleTabItem = true, // Flag to control middle tab item
this.enableTopShadow = true,
this.blurRadius = 2.0,
this.spreadRadius = 0.2,
this.offset = -2,
this.shadowColor = Colors.black12,
super.key,
}) : assert(items.length % 2 == 0, 'The items list length must be even.');