moveDown method
Move down through the menu.
Implementation
Future<void> moveDown() async {
final index = min(menuItemIndex + 1, widget.menuItems.length - 1);
await setCurrentMenuItem(index);
}
Move down through the menu.
Future<void> moveDown() async {
final index = min(menuItemIndex + 1, widget.menuItems.length - 1);
await setCurrentMenuItem(index);
}