NavDrawerItem constructor

const NavDrawerItem({
  1. Key? key,
  2. required String title,
  3. IconData? icon,
  4. VoidCallback? onTap,
  5. bool selected = false,
  6. Color? selectedColor,
  7. Widget? trailing,
  8. String? badge,
})

Implementation

const NavDrawerItem({
  super.key,
  required this.title,
  this.icon,
  this.onTap,
  this.selected = false,
  this.selectedColor,
  this.trailing,
  this.badge,
});