onElapsedTimeChange property Null safety

Stream<num> onElapsedTimeChange

A stream of elapsedTime changes.

The stream sends the changes of elapsedTime and is executed before all other animatables are processed.

await for (var elapsedTime in juggler.onElapsedTimeChange) {
   print(elapsedTime);
}

Implementation

Stream<num> get onElapsedTimeChange => _elapsedTimeChangedEvent.stream;