show method
void
show({
- Duration? duration,
- required TickerProvider vsync,
- double? from,
- required Curve curve,
Implementation
void show({
Duration? duration,
required TickerProvider vsync,
double? from,
required Curve curve,
}) {
_animController?.removeStatusListener(_onAnimateEnd);
_animController = CurvedAnimationController(
duration: duration,
vsync: vsync,
curve: curve,
);
_animController?.addStatusListener(_onAnimateEnd);
_animController
?..reset()
..forward(from: from);
}