DrawerItem constructor

const DrawerItem(
  1. {String label = "",
  2. @required Icon icon}
)

Implementation

const DrawerItem({
  this.label = "",
  @required this.icon,
}) : assert(icon != null);