moveUp method
Move up through the menu.
Implementation
Future<void> moveUp() async {
final index = max(0, menuItemIndex - 1);
await setCurrentMenuItem(index);
}
Move up through the menu.
Future<void> moveUp() async {
final index = max(0, menuItemIndex - 1);
await setCurrentMenuItem(index);
}