StarModel class

Constructors

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

Properties

color Color
final
fillShape bool
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
pz double
getter/setter pair
random Random
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape OutlinedBorder
final
width double
final
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 trail) → void
toString() String
A string representation of this object.
inherited
update(double speed) → void

Operators

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