DrawerHeaderModifier constructor
const
DrawerHeaderModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- Decoration? decoration,
- EdgeInsetsGeometry? margin = const EdgeInsets.only(bottom: 8.0),
- EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 8.0),
- Duration duration = const Duration(milliseconds: 250),
- Curve curve = Curves.fastOutSlowIn,
Creates a Material Design drawer header.
Requires one of its ancestors to be a Material widget.
Implementation
const DrawerHeaderModifier({
super.key,
super.child,
super.modifierKey,
this.decoration,
this.margin = const EdgeInsets.only(bottom: 8.0),
this.padding = const EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 8.0),
this.duration = const Duration(milliseconds: 250),
this.curve = Curves.fastOutSlowIn,
});