OpenWebNavigator constructor
const
OpenWebNavigator({
- Key? key,
- required List<
OpenWebNavigatorItem> items, - ValueChanged<
int> ? onTap, - int initialIndex = 0,
- Color primaryColor = Colors.blue,
- Color decorationColor = Colors.white,
- Color inactiveColor = Colors.black,
- Widget? logo,
Implementation
const OpenWebNavigator({super.key,
required this.items,
this.onTap,
this.initialIndex = 0,
this.primaryColor = Colors.blue,
this.decorationColor = Colors.white,
this.inactiveColor = Colors.black,
this.logo,
}) : assert(items.length >= 2);