CustomNotchBottomNavigation constructor

const CustomNotchBottomNavigation({
  1. Key? key,
  2. required List<Widget> pages,
  3. required List<IconData> icons,
  4. VoidCallback? onFabTap,
  5. Color fabColor = Colors.blueGrey,
  6. IconData fabIcon = Icons.add,
  7. Color selectedColor = Colors.blue,
  8. Color unselectedColor = Colors.grey,
})

Implementation

const CustomNotchBottomNavigation({
  super.key,
  required this.pages,
  required this.icons,
  this.onFabTap,
  this.fabColor = Colors.blueGrey,
  this.fabIcon = Icons.add,
  this.selectedColor = Colors.blue,
  this.unselectedColor = Colors.grey,
}) : assert(pages.length == icons.length, 'Pages and icons must be the same length');