MenuItem constructor

const MenuItem({
  1. required IconData icon,
  2. required String subtitle,
  3. required String title,
  4. required Widget child,
  5. required Color color,
  6. required bool disabled,
})

Implementation

const MenuItem({
  required this.icon,
  required this.subtitle,
  required this.title,
  required this.child,
  required this.color,
  required this.disabled,
});