TextMenuAction constructor

const TextMenuAction(
  1. {required MenuActionCallBack onTap,
  2. required String text,
  3. Key? key,
  4. IconData? icon,
  5. double leftTextOffset = 100,
  6. IconData? trailingIcon,
  7. TextStyle style = const TextStyle()}
)

Implementation

const TextMenuAction({
  required this.onTap,
  required this.text,
  super.key,
  this.icon,
  this.leftTextOffset = 100,
  this.trailingIcon,
  this.style = const TextStyle(),
});