NiceResponsiveScaffold constructor

const NiceResponsiveScaffold({
  1. Key? key,
  2. required Widget body,
  3. Widget? drawer,
  4. PreferredSizeWidget? appBar,
  5. List<NavigationDestination>? destinations,
  6. int selectedIndex = 0,
  7. void onDestinationSelected(
    1. int index
    )?,
  8. Widget? floatingActionButton,
  9. bool showBottomNavOnMobile = true,
  10. bool showRailOnTablet = true,
  11. bool showDrawerOnDesktop = true,
})

Implementation

const NiceResponsiveScaffold({
  super.key,
  required this.body,
  this.drawer,
  this.appBar,
  this.destinations,
  this.selectedIndex = 0,
  this.onDestinationSelected,
  this.floatingActionButton,
  this.showBottomNavOnMobile = true,
  this.showRailOnTablet = true,
  this.showDrawerOnDesktop = true,
});