show method

void show(
  1. int index
)

Show the menu at the specified index.

Implementation

void show(int index) {
  _index = index;
  _isShow = true;
  notifyListeners();
}