AppDrawer constructor
AppDrawer({
- Key? key,
- Color? backgroundColor,
- double? elevation,
- ShapeBorder? shape,
- String? semanticLabel,
- DrawerHeader? header,
- List<
ListTile> ? items,
Supply the properties to a Material Design Drawer Widget.
Implementation
AppDrawer({
Key? key,
this.backgroundColor,
this.elevation,
this.shape,
this.semanticLabel,
this.header,
this.items,
}) : super(key: key) {
// Take any defined items.
if (items != null) {
_items.addAll(items!);
}
}