Animation 类
- 继承
-
- Object
- EventTarget
- Animation
- 注解
-
- @Native("Animation")
构造函数
- Animation([AnimationEffectReadOnly? effect, AnimationTimeline? timeline])
-
工厂方法
属性
- currentTime ↔ num?
-
getter/setter 对
- effect ↔ AnimationEffectReadOnly?
-
getter/setter 对
-
finished → Future<
Animation> -
无setter
- hashCode → int
- 该对象的哈希码。无setter继承
- id ↔ String?
-
getter/setter 对
- on → Events
- 这是一个适用于事件流的便捷访问器,仅在显式访问器不可用时使用。无setter继承
-
onCancel → Stream<
Event> -
无setter
-
onFinish → Stream<
Event> -
无setter
- playbackRate ↔ num?
-
getter/setter 对
- playState → String?
-
无setter
-
ready → Future<
Animation> -
无setter
- runtimeType → Type
- 表示对象的运行时类型。无setter继承
- startTime ↔ num?
-
getter/setter 对
- timeline → AnimationTimeline?
-
无setter
方法
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
cancel(
) → void -
dispatchEvent(
Event event) → bool -
继承
-
finish(
) → void -
noSuchMethod(
Invocation invocation) → dynamic - 当访问不存在的方法或属性时被调用。继承
-
pause(
) → void -
play(
) → void -
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
reverse(
) → void -
toString(
) → String - 此对象的字符串表示。继承
运算符
-
operator ==(
Object other) → bool - 相等运算符。继承
静态属性
常量
-
cancelEvent → const EventStreamProvider<
Event> -
finishEvent → const EventStreamProvider<
Event>