GFDrawer constructor

const GFDrawer({
  1. Key? key,
  2. double elevation = 16.0,
  3. Widget? child,
  4. String? semanticLabel,
  5. ImageProvider<Object>? backgroundImage,
  6. ColorFilter? colorFilter,
  7. Gradient? gradient,
  8. 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);