Star class

Constructors

Star(Offset position, double baseRadius, double baseOpacity, double twinkleSpeed, double rotationSpeed, StarShape shapeType, bool isBigStar, double twinklePhase, Color color)
Star.random({bool isBigStar = false, required dynamic starColors, required List<StarShape> starShapes, double sizeMultiplier = 1})
factory

Properties

baseOpacity double
final
baseRadius double
final
color Color
final
hashCode int
The hash code for this object.
no setterinherited
isBigStar bool
final
position Offset
final
rotationSpeed double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeType StarShape
final
twinklePhase double
final
twinkleSpeed double
final

Methods

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