ResponsiveScaffold constructor

const ResponsiveScaffold({
  1. Key? key,
  2. void onLogOut()?,
  3. Widget? title,
  4. Widget? menuTitle,
  5. Widget? menuLeadingTitle,
  6. Widget? menuLeadingSubtitle,
  7. String menuLeadingAvatarLabel = '',
  8. required List<ResponsiveMenuItems> menuItems,
  9. List<bool>? menuItemsEnabled,
  10. List<ResponsiveMenuItemIconState>? menuItemsIconState,
  11. ValueChanged<int>? onSelect,
  12. double railWidth = _kRailWidth,
  13. double menuWidth = _kMenuWidth,
  14. double breakpointShowFullMenu = _kBreakpointShowFullMenu,
  15. Widget? body,
  16. Widget? floatingActionButton,
  17. FloatingActionButtonLocation? floatingActionButtonLocation,
  18. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  19. List<Widget>? persistentFooterButtons,
  20. DrawerCallback? onDrawerChanged,
  21. Widget? endDrawer,
  22. DrawerCallback? onEndDrawerChanged,
  23. Widget? bottomNavigationBar,
  24. Widget? bottomSheet,
  25. Color? backgroundColor,
  26. bool? resizeToAvoidBottomInset,
  27. bool primary = true,
  28. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  29. bool extendBody = false,
  30. bool extendBodyBehindAppBar = false,
  31. Color? drawerScrimColor,
  32. double? drawerEdgeDragWidth,
  33. bool drawerEnableOpenDragGesture = true,
  34. bool endDrawerEnableOpenDragGesture = true,
  35. String? restorationId,
  36. List<Widget>? actions,
})

Implementation

const ResponsiveScaffold({
  Key? key,
  // ResponsiveScaffold properties.
  this.onLogOut,
  this.title,
  this.menuTitle,
  this.menuLeadingTitle,
  this.menuLeadingSubtitle,
  this.menuLeadingAvatarLabel = '',
  required this.menuItems,
  this.menuItemsEnabled,
  this.menuItemsIconState,
  this.onSelect,
  this.railWidth = _kRailWidth,
  this.menuWidth = _kMenuWidth,
  this.breakpointShowFullMenu = _kBreakpointShowFullMenu,

  // Standard Scaffold properties, just passed along to Scaffold.
  this.body,
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.persistentFooterButtons,
  this.onDrawerChanged,
  this.endDrawer,
  this.onEndDrawerChanged,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.backgroundColor,
  this.resizeToAvoidBottomInset,
  this.primary = true,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.extendBody = false,
  this.extendBodyBehindAppBar = false,
  this.drawerScrimColor,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = true,
  this.endDrawerEnableOpenDragGesture = true,
  this.restorationId,
  this.actions,
}) : super(key: key);