UserAccountsDrawerHeader constructor
- Key? key,
- Decoration? decoration,
- EdgeInsetsGeometry? margin = const EdgeInsets.only(bottom: 8.0),
- Widget? currentAccountPicture,
- List<
Widget> ? otherAccountsPictures, - Size currentAccountPictureSize = const Size.square(72.0),
- Size otherAccountsPicturesSize = const Size.square(40.0),
- required Widget? accountName,
- required Widget? accountEmail,
- VoidCallback? onDetailsPressed,
- Color arrowColor = Colors.white,
Creates a Material Design drawer header.
Requires one of its ancestors to be a Material widget.
Implementation
const UserAccountsDrawerHeader({
super.key,
this.decoration,
this.margin = const EdgeInsets.only(bottom: 8.0),
this.currentAccountPicture,
this.otherAccountsPictures,
this.currentAccountPictureSize = const Size.square(72.0),
this.otherAccountsPicturesSize = const Size.square(40.0),
required this.accountName,
required this.accountEmail,
this.onDetailsPressed,
this.arrowColor = Colors.white,
});