MenuAction.text constructor
Implementation
factory MenuAction.text({
required String text,
required MenuActionCallBack onTap,
TextStyle textStyle = const TextStyle(),
double leftTextOffset = 100,
IconData? icon,
IconData? trailingIcon,
}) =>
TextMenuAction(
text: text,
onTap: onTap,
icon: icon,
trailingIcon: trailingIcon,
style: textStyle,
leftTextOffset: leftTextOffset,
);