SnowFlake class

Constructors

SnowFlake.new({required double gravity, required double windX, required double windY, required Size size, SnowfallStartPosition startPosition = SnowfallStartPosition.random})

Properties

direction double
getter/setter pair
gravity double
final
hashCode int
The hash code for this object.
no setterinherited
radius double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
speed double
getter/setter pair
startPosition SnowfallStartPosition
final
windX double
final
windY double
final
x double
getter/setter pair
y double
getter/setter pair

Methods

fall({Rect? snowfallRegion}) → dynamic
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