StarModel class

Constructors

StarModel({required double x, required double y, required double z, required double pz, required Color color, required double rotation})
StarModel.create(double width, double height, Random random, Color color)
factory

Properties

color Color
final
hashCode int
The hash code for this object.
no setterinherited
pz double
getter/setter pair
rotation double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
y double
getter/setter pair
z double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(Canvas canvas, double width, double height, Paint paint, bool hasTrail, OutlinedBorder shape, bool fillShape, int trailSteps, double trailLength) → void
toString() String
A string representation of this object.
inherited
update(Random random, double speed, double width, double height, double rotationSpeed) → void

Operators

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