AnimationSystemState class
- Inheritance
-
- Object
- HiveObject
- FortState
- AnimationSystemState
Constructors
- AnimationSystemState({IconPosition? iconPosition, CardPosition? cardPosition, bool nullFill = false, bool reversing = false, double dx = 0, double dy = 0})
- AnimationSystemState.initial()
-
factory
Properties
- box → BoxBase?
-
Get the box in which this object is stored. Returns
null
if object has not been added to a box yet.read-onlyinherited - cardPosition → CardPosition?
-
final
- dx → double
-
final
- dy → double
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- iconPosition → IconPosition?
-
final
- isInBox → bool
-
Returns whether this object is currently stored in a box.
read-onlyinherited
- key → dynamic
-
Get the key associated with this object. Returns
null
if object has not been added to a box yet.read-onlyinherited - nullFill → bool
-
final
- reversing → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
copyWith(
FortState other) → FortState -
override
-
delete(
) → Future< void> -
Deletes this object from the box it is stored in.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< void> -
Persists this object.
inherited
-
toJson(
) → dynamic -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tower(
[AnimationSystemState? cardState]) → Tower< AnimationSystemState>