toggle method
Convenience method for showing/hiding the tooltip.
This method should typically not be called while the widget tree is being rebuilt.
Implementation
Future<void> toggle() => _animation.status.isForwardOrCompleted ? hide() : show();
Convenience method for showing/hiding the tooltip.
This method should typically not be called while the widget tree is being rebuilt.
Future<void> toggle() => _animation.status.isForwardOrCompleted ? hide() : show();