ZeroNavigationBar constructor
const
ZeroNavigationBar({
- Key? key,
- required List<
ZeroNavigationBarItem> items, - int? activeIndex,
- ValueChanged<
int> ? onTap, - ZeroNavigationBarStyle? style,
- ZeroNavigationBarType type = ZeroNavigationBarType.iconLabel,
Implementation
const ZeroNavigationBar({
super.key,
required this.items,
this.activeIndex,
this.onTap,
this.style,
this.type = ZeroNavigationBarType.iconLabel,
}) : assert(items.length > 2, 'Items must be more than 2 item');