onAnimationStarted property

Stream<Animation> get onAnimationStarted

Event for animation that has been started.

Implementation

Stream<Animation> get onAnimationStarted => _client.onEvent
    .where((event) => event.name == 'Animation.animationStarted')
    .map((event) => Animation.fromJson(
        event.parameters['animation'] as Map<String, dynamic>));