showCurrentItem method

void showCurrentItem()

Show the current item.

Implementation

void showCurrentItem() {
  final pos = position;
  if (pos == null) {
    oldSound = game.outputMessage(
      title,
      oldSound: oldSound,
      soundChannel: soundChannel,
    );
    titleRumbleEffect?.dispatch(game);
  } else {
    menuItems[pos].onFocus(this);
  }
}