Animation class

Inheritance
Annotations
  • @Native("Animation")

Constructors

Animation([AnimationEffectReadOnly? effect, AnimationTimeline? timeline])
factory

Properties

currentTime num?
getter/setter pair
effect AnimationEffectReadOnly?
getter/setter pair
finished Future<Animation>
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
no setterinherited
onCancel Stream<Event>
no setter
onFinish Stream<Event>
no setter
playbackRate num?
getter/setter pair
playState String?
no setter
ready Future<Animation>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime num?
getter/setter pair
timeline AnimationTimeline?
no setter

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
cancel() → void
dispatchEvent(Event event) bool
inherited
finish() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
play() → void
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
reverse() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

supported bool
Checks if this type is supported on the current platform.
no setter

Constants

cancelEvent → const EventStreamProvider<Event>
const EventStreamProvider<Event>('cancel')
finishEvent → const EventStreamProvider<Event>
const EventStreamProvider<Event>('finish')