CLBottomBar constructor

const CLBottomBar({
  1. Key? key,
  2. required List<CLDestination> destinations,
  3. required String? selectedKey,
  4. required ValueChanged<CLDestination> onSelect,
  5. required ValueChanged<CLDestination> onOpenGroup,
  6. required VoidCallback onOverflow,
  7. required int maxItems,
  8. List<CLBottomBarItem>? items,
  9. String overflowLabel = 'Altro',
  10. bool topBorder = true,
  11. bool floating = false,
})

Implementation

const CLBottomBar({
  super.key,
  required this.destinations,
  required this.selectedKey,
  required this.onSelect,
  required this.onOpenGroup,
  required this.onOverflow,
  required this.maxItems,
  this.items,
  this.overflowLabel = 'Altro',
  this.topBorder = true,
  this.floating = false,
});