ExpressiveShellScaffold constructor
const
ExpressiveShellScaffold({
- required List<
NavTab> tabs, - required int selectedIndex,
- required ValueChanged<
int> onDestinationSelected, - required Widget body,
- bool barVisible = true,
- ShellAction? action,
- Widget? accessory,
- 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');