MacosPulldownMenuItem constructor

const MacosPulldownMenuItem({
  1. Key? key,
  2. required Widget title,
  3. VoidCallback? onTap,
  4. bool enabled = true,
  5. AlignmentGeometry alignment = AlignmentDirectional.centerStart,
  6. String? label,
})

Creates an item for a macOS-style pulldown menu.

Implementation

const MacosPulldownMenuItem({
  super.key,
  required this.title,
  this.onTap,
  this.enabled = true,
  this.alignment = AlignmentDirectional.centerStart,
  this.label,
});