CABasicAnimation class Null safety
- Inheritance
-
- Object
- Ref
- NSObject
- CAAnimation
- CAPropertyAnimation
- CABasicAnimation
Constructors
- CABasicAnimation(dynamic fromValue, dynamic toValue, dynamic byValue)
Properties
- autoreverses ↔ bool?
-
When true, the object plays backwards after playing forwards. Defaults
to NO.
read / writeinherited
- beginTime ↔ double?
-
The begin time of the object, in relation to its parent object, if
applicable. Defaults to 0.
read / writeinherited
- byValue → dynamic
-
final
- duration ↔ double?
-
The basic duration of the object. Defaults to 0.
read / writeinherited
- fillMode ↔ bool?
-
Defines how the timed object behaves outside its active duration.
Local time may be clamped to either end of the active duration, or
the element may be removed from the presentation. The legal values
are
backwards',
forwards',both' and
removed'. Defaults to `removed'.read / writeinherited - fromValue → dynamic
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- refId ↔ String?
-
unique id of native side counterpart object
read / writeinherited
- repeatCount ↔ double?
-
The repeat count of the object. May be fractional. Defaults to 0.
read / writeinherited
- repeatDuration ↔ double?
-
The repeat duration of the object. Defaults to 0.
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- speed ↔ double?
-
The rate of the layer. Used to scale parent time to local time, e.g.
if rate is 2, local time progresses twice as fast as parent time.
Defaults to 1.
read / writeinherited
- tag__ ↔ String
-
custom tag
finalread / writeinherited-setteroverride-getter
- timeOffset ↔ double?
-
Additional offset in active local time. i.e. to convert from parent
time tp to active local time t: t = (tp - begin) * speed + offset.
One use of this is to "pause" a layer by setting
speed' to zero and
offset' to a suitable value. Defaults to 0. */read / writeinherited - toValue → dynamic
-
final
Methods
-
addJsonableProperty__(
int propertyKey, Object property) → Future< void> -
为类型添加jsonable属性
inherited
-
addListProperty__(
int propertyKey, List< Ref> property) → Future<void> -
为类型添加属性
inherited
-
addProperty__(
int propertyKey, Ref property) → Future< void> -
为类型添加属性
inherited
-
asBatch<
T extends Ref> (int length) → List< T> -
转换为批处理
inherited
-
getJsonableProperty__(
int propertyKey) → Future -
获取添加字段的jsonable值
inherited
-
getProperty__(
int propertyKey) → Future< Ref> -
获取添加字段的值
inherited
-
isNull(
) → Future< bool?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
performSelectorWithObject__(
String selector, Object object) → Future< void> -
通过反射调用方法
inherited
-
release__(
) → Future< void> -
释放当前引用对象
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited