BottomNav constructor
const
BottomNav({
- Key? key,
- int? index,
- void onTap(
- int i
- List<
BottomNavItem> ? items, - double elevation = 8.0,
- IconStyle? iconStyle,
- Color color = Colors.white,
- LabelStyle? labelStyle,
Implementation
const BottomNav({
Key? key,
this.index,
this.onTap,
this.items,
this.elevation = 8.0,
this.iconStyle,
this.color = Colors.white,
this.labelStyle,
}) : assert(items != null && items.length >= 2),
super(key: key);