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() async =>
const {AnimationStatus.completed, AnimationStatus.reverse}.contains(_animation.status) ? hide() : show();