MenuNavScaffold constructor

const MenuNavScaffold({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. Color? floatingButtonColor,
  4. Widget? body,
  5. List<Widget>? persistentFooterButtons,
  6. Widget? drawer,
  7. DrawerCallback? onDrawerChanged,
  8. Widget? endDrawer,
  9. DrawerCallback? onEndDrawerChanged,
  10. required BottomBarDetails bottomBarDetails,
  11. Widget? bottomSheet,
  12. Color? backgroundColor,
  13. bool? resizeToAvoidBottomInset,
  14. bool primary = true,
  15. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  16. bool extendBodyBehindAppBar = false,
  17. Color? drawerScrimColor,
  18. double? drawerEdgeDragWidth,
  19. bool drawerEnableOpenDragGesture = true,
  20. bool endDrawerEnableOpenDragGesture = true,
  21. double notchMargin = 10.0,
  22. double? strokewidth,
  23. double floatingbuttonsize = 60,
  24. Color? strokeColor,
  25. Color? bottomBarColor,
  26. Widget? activefloatingIcon,
  27. Widget? cancelMenuFloatingIcon,
  28. double navHeight = 60,
})

Implementation

const MenuNavScaffold(
    {Key? key,
    this.appBar,
    this.floatingButtonColor,
    this.body,
    this.persistentFooterButtons,
    this.drawer,
    this.onDrawerChanged,
    this.endDrawer,
    this.onEndDrawerChanged,
    required this.bottomBarDetails,
    this.bottomSheet,
    this.backgroundColor,
    this.resizeToAvoidBottomInset,
    this.primary = true,
    this.drawerDragStartBehavior = DragStartBehavior.start,
    this.extendBodyBehindAppBar = false,
    this.drawerScrimColor,
    this.drawerEdgeDragWidth,
    this.drawerEnableOpenDragGesture = true,
    this.endDrawerEnableOpenDragGesture = true,
    this.notchMargin = 10.0,
    this.strokewidth,
    this.floatingbuttonsize = 60,
    this.strokeColor,
    this.bottomBarColor,
    this.activefloatingIcon,
    this.cancelMenuFloatingIcon,
    this.navHeight = 60})
    : assert(navHeight >= 60 && notchMargin >= 8.0),
      super(key: key);