Creates a material design drawer item.
Requires one of its ancestors to be a Material widget.
Source
const DrawerItem({
Key key,
this.icon: const Icon(null),
this.child,
this.onPressed,
this.selected: false
}) : super(key: key);
Creates a material design drawer item.
Requires one of its ancestors to be a Material widget.
const DrawerItem({
Key key,
this.icon: const Icon(null),
this.child,
this.onPressed,
this.selected: false
}) : super(key: key);