FTooltipController constructor

FTooltipController({
  1. required TickerProvider vsync,
  2. dynamic duration = const Duration(milliseconds: 100),
})

Creates a FTooltipController with the given vsync and animation duration.

Implementation

FTooltipController({required TickerProvider vsync, duration = const Duration(milliseconds: 100)}) {
  _animation = AnimationController(vsync: vsync, duration: duration);
  _fade = _fadeTween.animate(_animation);
  _scale = _scaleTween.animate(_animation);
}