FloatingBottomNavBar constructor

const FloatingBottomNavBar({
  1. Key? key,
  2. required List<Widget> pages,
  3. int? initialPageIndex,
  4. double? elevation = 0,
  5. double? radius = 20,
  6. Color? backgroundColor = Colors.blue,
  7. double? height = 65,
  8. double? width = 300,
  9. double? bottomPadding = 5,
  10. required List<FloatingBottomNavItem> items,
  11. TextStyle? selectedLabelStyle,
  12. TextStyle? unselectedLabelStyle,
})

Implementation

const FloatingBottomNavBar(
    {super.key,
    required this.pages,
    this.initialPageIndex,
    this.elevation = 0,
    this.radius = 20,
    this.backgroundColor = Colors.blue,
    this.height = 65,
    this.width = 300,
    this.bottomPadding = 5,
    required this.items,
    this.selectedLabelStyle,
    this.unselectedLabelStyle});