DrawerController constructor
- GlobalKey<
State< ? key,StatefulWidget> > - required Widget child,
- required DrawerAlignment alignment,
- bool isDrawerOpen = false,
- DrawerCallback? drawerCallback,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Color? scrimColor,
- double? edgeDragWidth,
- bool enableOpenDragGesture = true,
Creates a controller for a Drawer.
Rarely used directly.
Implementation
const DrawerController({
GlobalKey? key,
required this.child,
required this.alignment,
this.isDrawerOpen = false,
this.drawerCallback,
this.dragStartBehavior = DragStartBehavior.start,
this.scrimColor,
this.edgeDragWidth,
this.enableOpenDragGesture = true,
}) : super(key: key);