MacosPulldownMenuItem constructor
const
MacosPulldownMenuItem({
- Key? key,
- required Widget title,
- VoidCallback? onTap,
- bool enabled = true,
- AlignmentGeometry alignment = AlignmentDirectional.centerStart,
- 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,
});