moveDown method

Future<void> moveDown()

Move down through the menu.

Implementation

Future<void> moveDown() async {
  final index = min(menuItemIndex + 1, widget.menuItems.length - 1);
  await setCurrentMenuItem(index);
}