attach method

Implementation

@protected
void attach(DropdownOverlayBuilderDelegate state) {
  if (_currentAttachedState != state) {
    dismiss();
  }

  if (!_attachedStates.contains(state)) {
    _attachedStates.add(state);
  }
}