remove method

void remove(
  1. UniqueKey? key, [
  2. FTooltipController? controller
])

Removes the tooltip from the slider.

Implementation

void remove(UniqueKey? key, [FTooltipController? controller]) {
  if (!enabled) {
    return;
  }

  if (controller == null) {
    _tooltips.remove(key);
  } else {
    _tooltips.removeWhere((key, controller) => key == key && controller == controller);
  }
}