ComicNavigationDrawer constructor

const ComicNavigationDrawer({
  1. Key? key,
  2. required List<ComicNavItem> destinations,
  3. int selectedIndex = 0,
  4. ValueChanged<int>? onDestinationSelected,
  5. Widget? header,
  6. Widget? footer,
  7. String? label,
})

Creates a drawer. The host chooses when the window is wide enough.

Implementation

const ComicNavigationDrawer({
  super.key,
  required this.destinations,
  this.selectedIndex = 0,
  this.onDestinationSelected,
  this.header,
  this.footer,
  this.label,
});