play method
Manually start the fade animation
Implementation
Future<void> play() async {
if (!mounted || _controller.isAnimating || !_isInitialized) return;
if (!_shouldAnimate(context)) return;
await _controller.forward().orCancel;
}
Manually start the fade animation
Future<void> play() async {
if (!mounted || _controller.isAnimating || !_isInitialized) return;
if (!_shouldAnimate(context)) return;
await _controller.forward().orCancel;
}