GFDrawerHeader constructor

const GFDrawerHeader({
  1. Key? key,
  2. Decoration? decoration,
  3. EdgeInsetsGeometry margin = const EdgeInsets.only(bottom: 8),
  4. Widget? currentAccountPicture,
  5. List<Widget>? otherAccountsPictures,
  6. bool centerAlign = false,
  7. Widget? child,
  8. Duration duration = const Duration(milliseconds: 250),
  9. Curve curve = Curves.fastOutSlowIn,
  10. 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);