AppDrawer constructor

AppDrawer({
  1. Key? key,
  2. Color? backgroundColor,
  3. double? elevation,
  4. ShapeBorder? shape,
  5. String? semanticLabel,
  6. DrawerHeader? header,
  7. 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!);
  }
}