FloatingBottomNavBar constructor
const
FloatingBottomNavBar({
- Key? key,
- required List<
Widget> pages, - int? initialPageIndex,
- double? elevation = 0,
- double? radius = 20,
- Color? backgroundColor = Colors.blue,
- double? height = 65,
- double? width = 300,
- double? bottomPadding = 5,
- required List<
FloatingBottomNavItem> items, - TextStyle? selectedLabelStyle,
- 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});