update method

void update(
  1. Rect rect
)

Updates the location of the suggestion popup to rect. If the popup is not showing, it will be shown after this call.

Implementation

void update(Rect rect) {
  _cursorRect.value = rect;
  if (!isShowing) show();
}