BMFAnimation class Null safety

热力图帧动画自定义类 since 3.3.0

Constructors

BMFAnimation({int? duration = 0, BMFAnimationType? type = BMFAnimationType.Linear})
BMFAnimation.fromMap(Map map)

Properties

duration ↔ int?
设置动画总时长,默认为0ms,
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
type BMFAnimationType?
动画缓动函数类型,默认0:线性
read / write

Methods

fromMap(Map map) → dynamic
map -> dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() → Map<String, Object?>
model -> map
toString() → String
A string representation of this object.
inherited

Operators

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