onAnimationCanceled property

Stream<String> get onAnimationCanceled

Event for when an animation has been cancelled.

Implementation

Stream<String> get onAnimationCanceled => _client.onEvent
    .where((event) => event.name == 'Animation.animationCanceled')
    .map((event) => event.parameters['id'] as String);