MinScaffold constructor

const MinScaffold({
  1. Key? key,
  2. required Widget body,
  3. Widget? appBar,
  4. Widget? floatingActionButton,
  5. Widget? bottomNavigationBar,
  6. double bottomNavigationBarHeight = 64,
  7. Widget? drawer,
  8. Widget? endDrawer,
  9. MinDrawerController? drawerController,
  10. double drawerWidth = 280,
  11. double endDrawerWidth = 280,
  12. double edgeDragWidth = 24,
  13. bool enableDrawerGestures = true,
  14. bool persistentDrawerOnWide = true,
  15. double persistentDrawerBreakpoint = 960,
  16. Color drawerOverlayColor = const Color(0x52000000),
  17. Color? drawerBackgroundColor,
  18. Color? endDrawerBackgroundColor,
  19. Duration drawerDuration = const Duration(milliseconds: 180),
  20. Curve drawerCurve = Curves.easeOut,
  21. Color? backgroundColor,
  22. bool resizeToAvoidBottomInset = true,
})

Implementation

const MinScaffold({
  super.key,
  required this.body,
  this.appBar,
  this.floatingActionButton,
  this.bottomNavigationBar,
  this.bottomNavigationBarHeight = 64,
  this.drawer,
  this.endDrawer,
  this.drawerController,
  this.drawerWidth = 280,
  this.endDrawerWidth = 280,
  this.edgeDragWidth = 24,
  this.enableDrawerGestures = true,
  this.persistentDrawerOnWide = true,
  this.persistentDrawerBreakpoint = 960,
  this.drawerOverlayColor = const Color(0x52000000),
  this.drawerBackgroundColor,
  this.endDrawerBackgroundColor,
  this.drawerDuration = const Duration(milliseconds: 180),
  this.drawerCurve = Curves.easeOut,
  this.backgroundColor,
  this.resizeToAvoidBottomInset = true,
});