MenuItem constructor

const MenuItem({
  1. required String title,
  2. required IconData icon,
  3. String? route,
  4. List<MenuItem>? subItems,
  5. String? type,
  6. String? value,
  7. String? claimName,
  8. String? url,
  9. VoidCallback? onTap,
  10. double? fontSize,
  11. FontWeight? fontWeight,
  12. double? iconSize,
})

Implementation

const MenuItem({
  required this.title,
  required this.icon,
  this.route,
  this.subItems,
  this.type,
  this.value,
  this.claimName,
  this.url,
  this.onTap,
  this.fontSize,
  this.fontWeight,
  this.iconSize,
});