OpenWebNavigator constructor

const OpenWebNavigator({
  1. Key? key,
  2. required List<OpenWebNavigatorItem> items,
  3. ValueChanged<int>? onTap,
  4. int initialIndex = 0,
  5. Color primaryColor = Colors.blue,
  6. Color decorationColor = Colors.white,
  7. Color inactiveColor = Colors.black,
})

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