MDrawerItem constructor

const MDrawerItem(
  1. String label,
  2. String route, {
  3. IconData? icon,
  4. String? asset,
})

Implementation

const MDrawerItem(this.label, this.route, {this.icon, this.asset});