FdcMenuAction constructor

const FdcMenuAction({
  1. required String text,
  2. IconData? icon,
  3. String? shortcutText,
  4. bool enabled = true,
  5. VoidCallback? onPressed,
})

Creates a FdcMenuAction.

Implementation

const FdcMenuAction({
  required this.text,
  this.icon,
  this.shortcutText,
  this.enabled = true,
  this.onPressed,
});