show method

void show(
  1. int index, {
  2. Offset? offset,
})

Used to show DropDownView. offsetY: The Y-axis offset of the DropDownMenu in screen

Implementation

void show(int index, {Offset? offset}) {
  isExpand = true;
  headerIndex = index;
  viewOffset = offset;
  notifyListeners();
}