MenuItem constructor

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

Implementation

const MenuItem({
  this.id,
  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,
  this.arguments,
  this.reloadOnNavigate = false,
});