Answered by
jamesehly
Feb 12, 2026
Replies: 1 comment
|
Ended up figuring this out: MenuFlyoutItem _menuItem(String text, VoidCallback onPressed) { |
0 replies
Answer selected by
jamesehly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Ended up figuring this out:
MenuFlyoutItem _menuItem(String text, VoidCallback onPressed) {
return MenuFlyoutItem(
text: Text(text, style: _flyoutTextStyle),
onPressed: onPressed,
);
}