onNext property

void Function(int, bool)? onNext
final

Adds the onNext callback to the animated widget.

Will be called right before the next text, after the pause parameter

Implementation

final void Function(int, bool)? onNext;