show method

Future<void> show([
  1. UniqueKey? key
])

Shows the tooltip with the given key, or all tooltips if none is specified.

Implementation

Future<void> show([UniqueKey? key]) async {
  if (key != null) {
    await _tooltips[key]?.show();
    return;
  }

  await Future.wait([for (final tooltip in _tooltips.values) tooltip.show()]);
}