show method

void show(
  1. Offset position,
  2. dynamic data
)

Shows the tooltip at the given position with the given data.

Implementation

void show(Offset position, dynamic data) {
  _position = position;
  _data = data;
  _isVisible = true;
  notifyListeners();
}