MinScaffold constructor
const
MinScaffold({
- Key? key,
- required Widget body,
- Widget? appBar,
- Widget? floatingActionButton,
- Widget? drawer,
- Widget? endDrawer,
- MinDrawerController? drawerController,
- double drawerWidth = 280,
- double endDrawerWidth = 280,
- double edgeDragWidth = 24,
- bool enableDrawerGestures = true,
- bool persistentDrawerOnWide = true,
- double persistentDrawerBreakpoint = 960,
- Color drawerOverlayColor = const Color(0x52000000),
- Color? drawerBackgroundColor,
- Color? endDrawerBackgroundColor,
- Duration drawerDuration = const Duration(milliseconds: 180),
- Curve drawerCurve = Curves.easeOut,
- Color? backgroundColor,
- 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,
});