const DrawerHeader({Key key, Decoration decoration, EdgeInsets padding: const EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 8.0), Duration duration: const Duration(milliseconds: 250), Curve curve: Curves.fastOutSlowIn, Widget child })

Creates a material design drawer header.

Requires one of its ancestors to be a Material widget.

Source

const DrawerHeader({
  Key key,
  this.decoration,
  this.padding: const EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 8.0),
  this.duration: const Duration(milliseconds: 250),
  this.curve: Curves.fastOutSlowIn,
  this.child
}) : super(key: key);