CustomDrop class

Model class for drops in ParallaxRain

Constructors

CustomDrop({required Rect drop, required double dropSpeed, required int dropLayer, required Color dropColor})

Properties

drop Rect
Represents a drop by a Rect object, i.e. a combination of Offset and Size
getter/setter pair
dropColor Color
The color that this drop has right now
getter/setter pair
dropLayer int
The layer in which this drop is right now
getter/setter pair
dropSpeed double
The speed at which this drop is travelling
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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