ModulaMenuItem constructor

const ModulaMenuItem({
  1. String label = '',
  2. IconData? icon,
  3. Widget? leading,
  4. Widget? trailing,
  5. String? shortcut,
  6. bool enabled = true,
  7. bool destructive = false,
  8. bool isDivider = false,
  9. double? height,
  10. VoidCallback? onTap,
})

Implementation

const ModulaMenuItem({
  this.label = '',
  this.icon,
  this.leading,
  this.trailing,
  this.shortcut,
  this.enabled = true,
  this.destructive = false,
  this.isDivider = false,
  this.height,
  this.onTap,
});