show method

void show(
  1. int index
)

Use to display DropdownMenu specified dropdown menu index.

Implementation

void show(int index) {
  isShow = true;
  menuIndex = index;
  notifyListeners();
}