startAnims method

  1. @override
void startAnims(
  1. List<AnimationController> controllers
)
override

Implementation

@override
startAnims(List<AnimationController> controllers) {
  var delays = [770, 290, 280, 740];
  for (var i = 0; i < controllers.length; i++) {
    Future.delayed(Duration(milliseconds: delays[i]), () {
      if (context.mounted) controllers[i].repeat(reverse: true);
    });
  }
}