DrawerController({GlobalKey key, Widget child })

Creates a controller for a Drawer.

Rarely used directly.

The child argument must not be null and is typically a Drawer.

Source

DrawerController({
  GlobalKey key,
  this.child
}) : super(key: key) {
  assert(child != null);
}