MinDrawer constructor
const
MinDrawer({
- Key? key,
- required Widget child,
- Widget? drawer,
- Widget? endDrawer,
- MinDrawerController? controller,
- double drawerWidth = 280,
- double endDrawerWidth = 280,
- double edgeDragWidth = 24,
- bool enableGestures = true,
- bool persistentOnWide = true,
- double persistentBreakpoint = 960,
- Color overlayColor = const Color(0x52000000),
- Color? drawerBackgroundColor,
- Color? endDrawerBackgroundColor,
- String? drawerLabel,
- String? endDrawerLabel,
- bool enableEscape = true,
- Duration duration = const Duration(milliseconds: 180),
- 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,
});