Bubble class
Represents an individual animated bubble with position and physics properties.
Each bubble has a position (x, y), size, and velocity components for realistic movement and collision physics.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
Diameter of the bubble in logical pixels
final
- velocityX ↔ double
-
Horizontal velocity component (pixels per frame)
getter/setter pair
- velocityY ↔ double
-
Vertical velocity component (pixels per frame)
getter/setter pair
- x ↔ double
-
Current horizontal position of the bubble center
getter/setter pair
- y ↔ double
-
Current vertical position of the bubble center
getter/setter pair
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