ExpressiveShellScaffold constructor

const ExpressiveShellScaffold({
  1. required List<NavTab> tabs,
  2. required int selectedIndex,
  3. required ValueChanged<int> onDestinationSelected,
  4. required Widget body,
  5. bool barVisible = true,
  6. ShellAction? action,
  7. Widget? accessory,
  8. Key? key,
})

A shell standing body under the navigation for tabs.

Implementation

const ExpressiveShellScaffold({
  required this.tabs,
  required this.selectedIndex,
  required this.onDestinationSelected,
  required this.body,
  this.barVisible = true,
  this.action,
  this.accessory,
  super.key,
}) : assert(selectedIndex >= 0, 'selectedIndex names one of the tabs');