DrawerController constructor
Creates a controller for a Drawer.
Rarely used directly.
The child
argument must not be null and is typically a Drawer.
Implementation
const DrawerController({
GlobalKey key,
@required this.child,
@required this.alignment,
this.drawerCallback,
}) : assert(child != null),
assert(alignment != null),
super(key: key);