HoldCapsuleState class

O estado da camada: a forma (shape) e os enchimentos (de 0 a 1), que mudam a cada tique sem mudar a forma.

Inheritance

Constructors

HoldCapsuleState({HoldShape shape = const HoldShape(), double fill = 0, double emptyingFill = 0})
const

Properties

emptyingFill → double
Quanto da cápsula que esvazia ainda está cheia.
final
fill → double
Quanto da cápsula em curso está cheio.
final
hashCode → int
The hash code for this object.
no setterinherited
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape → HoldShape
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({HoldShape? shape, double? fill, double? emptyingFill}) → HoldCapsuleState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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