UserAccountsDrawerHeader constructor

const UserAccountsDrawerHeader({Key key, Decoration decoration, EdgeInsetsGeometry margin: const EdgeInsets.only(bottom: 8.0), Widget currentAccountPicture, List<Widget> otherAccountsPictures, @required Widget accountName, @required Widget accountEmail, VoidCallback onDetailsPressed })

Creates a material design drawer header.

Requires one of its ancestors to be a Material widget.

Implementation

const UserAccountsDrawerHeader({
  Key key,
  this.decoration,
  this.margin = const EdgeInsets.only(bottom: 8.0),
  this.currentAccountPicture,
  this.otherAccountsPictures,
  @required this.accountName,
  @required this.accountEmail,
  this.onDetailsPressed
}) : super(key: key);