FPopoverController constructor
FPopoverController({
- required TickerProvider vsync,
- dynamic animationDuration = const Duration(milliseconds: 100),
Creates a FPopoverController with the given vsync
and animation animationDuration
.
Implementation
FPopoverController({required TickerProvider vsync, animationDuration = const Duration(milliseconds: 100)}) {
_animation = AnimationController(vsync: vsync, duration: animationDuration);
_fade = _fadeTween.animate(_animation);
_scale = _scaleTween.animate(_animation);
}