GemAnimation class Maps & 3D Scene
Animation helper class.
Constructors
- GemAnimation({AnimationType type = AnimationType.none, int duration = -1, void onCompleted()?})
- Constructor for the animation class.
-
GemAnimation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- duration ↔ int
-
The duration of animation in milliseconds (0 means no animation)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCompleted ↔ void Function()?
-
The callback when animation is completed.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ AnimationType
-
The type of animation.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited