MinDrawer constructor

const MinDrawer({
  1. Key? key,
  2. required Widget child,
  3. Widget? drawer,
  4. Widget? endDrawer,
  5. MinDrawerController? controller,
  6. double drawerWidth = 280,
  7. double endDrawerWidth = 280,
  8. double edgeDragWidth = 24,
  9. bool enableGestures = true,
  10. bool persistentOnWide = true,
  11. double persistentBreakpoint = 960,
  12. Color overlayColor = const Color(0x52000000),
  13. Color? drawerBackgroundColor,
  14. Color? endDrawerBackgroundColor,
  15. String? drawerLabel,
  16. String? endDrawerLabel,
  17. bool enableEscape = true,
  18. Duration duration = const Duration(milliseconds: 180),
  19. Curve curve = Curves.easeOut,
})

Implementation

const MinDrawer({
  super.key,
  required this.child,
  this.drawer,
  this.endDrawer,
  this.controller,
  this.drawerWidth = 280,
  this.endDrawerWidth = 280,
  this.edgeDragWidth = 24,
  this.enableGestures = true,
  this.persistentOnWide = true,
  this.persistentBreakpoint = 960,
  this.overlayColor = const Color(0x52000000),
  this.drawerBackgroundColor,
  this.endDrawerBackgroundColor,
  this.drawerLabel,
  this.endDrawerLabel,
  this.enableEscape = true,
  this.duration = const Duration(milliseconds: 180),
  this.curve = Curves.easeOut,
});