NavigationX constructor

const NavigationX({
  1. Key? key,
  2. required int currentIndex,
  3. required List<NavigationItemModel> items,
  4. required dynamic onTap(
    1. int
    ),
})

Implementation

const NavigationX({
  super.key,
  required this.currentIndex,
  required this.items,
  required this.onTap,
});