M3EMenuSelectable constructor

const M3EMenuSelectable({
  1. required String label,
  2. required Object value,
  3. Widget? leading,
  4. Widget? trailing,
  5. String? trailingText,
  6. Widget? badge,
  7. String? supportingText,
  8. bool selected = false,
  9. VoidCallback? onPressed,
  10. bool enabled = true,
  11. M3EMenuItemShape shape = M3EMenuItemShape.standalone,
})

M3EMenuSelectable.

Implementation

const M3EMenuSelectable({
  required this.label,
  required this.value,
  this.leading,
  this.trailing,
  this.trailingText,
  this.badge,
  this.supportingText,
  this.selected = false,
  this.onPressed,
  this.enabled = true,
  this.shape = M3EMenuItemShape.standalone,
});