ParticleModel class
Constructors
- ParticleModel({Offset pos = Offset.zero, required Offset velocity, Offset acceleration = Offset.zero, required double particleWidth, required double particleHeight, required Color particleColor, required OutlinedBorder particleShape, required bool fillParticleShape, int lifeTime = 255})
Properties
- acceleration ↔ Offset
-
getter/setter pair
- fillParticleShape → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lifeTime ↔ int
-
getter/setter pair
- particleColor → Color
-
final
- particleHeight → double
-
final
- particleShape → OutlinedBorder
-
final
- particleWidth → double
-
final
- pos ↔ Offset
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- velocity ↔ Offset
-
getter/setter pair
Methods
-
draw(
Canvas canvas, Size size, Paint paint) → void -
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