GFDrawer constructor
const
GFDrawer({
- Key? key,
- double elevation = 16.0,
- Widget? child,
- String? semanticLabel,
- ImageProvider<
Object> ? backgroundImage, - ColorFilter? colorFilter,
- Gradient? gradient,
- Color? color,
Creates a material design drawer.
Typically used in the Scaffold.drawer property.
The elevation
must be non-negative.
Implementation
const GFDrawer({
Key? key,
this.elevation = 16.0,
this.child,
this.semanticLabel,
this.backgroundImage,
this.colorFilter,
this.gradient,
this.color,
}) : assert(elevation >= 0.0),
super(key: key);