NiceMenuItem constructor

const NiceMenuItem({
  1. required String id,
  2. required String label,
  3. IconData? icon,
  4. List<NiceMenuItem> children = const [],
  5. bool enabled = true,
  6. String? badge,
})

Implementation

const NiceMenuItem({
  required this.id,
  required this.label,
  this.icon,
  this.children = const [],
  this.enabled = true,
  this.badge,
});