Drawer constructor Null safety
Creates a Material Design drawer.
Typically used in the Scaffold.drawer property.
The elevation must be non-negative.
Implementation
const Drawer({
super.key,
this.backgroundColor,
this.elevation,
this.shape,
this.width,
this.child,
this.semanticLabel,
}) : assert(elevation == null || elevation >= 0.0);