GFDrawerHeader constructor
const
GFDrawerHeader({
- Key? key,
- Decoration? decoration,
- EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: 8),
- Widget? currentAccountPicture,
- List<
Widget> ? otherAccountsPictures, - bool centerAlign = false,
- Widget? child,
- Duration duration = const Duration(milliseconds: 250),
- Curve curve = Curves.fastOutSlowIn,
- Widget? closeButton,
Creates a material design drawer header.
Requires one of its ancestors to be a Material widget.
Implementation
const GFDrawerHeader({
Key? key,
this.decoration,
this.margin = const EdgeInsets.only(bottom: 8),
this.currentAccountPicture,
this.otherAccountsPictures,
this.centerAlign = false,
this.child,
this.duration = const Duration(milliseconds: 250),
this.curve = Curves.fastOutSlowIn,
this.closeButton,
}) : super(key: key);