FdcMenuAction constructor
const
FdcMenuAction({
- required String text,
- IconData? icon,
- String? shortcutText,
- bool enabled = true,
- VoidCallback? onPressed,
Creates a FdcMenuAction.
Implementation
const FdcMenuAction({
required this.text,
this.icon,
this.shortcutText,
this.enabled = true,
this.onPressed,
});