OneShotAnimation constructor
OneShotAnimation(
- String animationName, {
- double mix = 1,
- bool autoplay = true,
- VoidCallback? onStop,
- VoidCallback? onStart,
Implementation
OneShotAnimation(
String animationName, {
double mix = 1,
bool autoplay = true,
this.onStop,
this.onStart,
}) : super(animationName, mix: mix, autoplay: autoplay) {
isActiveChanged.addListener(onActiveChanged);
}