water_fx library

Classes

Barrier
A barrier for a WaterFX component.
CompoundTouch
A Touch that groups together other touches (_touches).
CompoundTouchMapper
A TouchMapper that groups together other touch mappers (_touchMappers).
CompoundTouchSource
A TouchSource that groups together multiple touch sources (_componentTouchSources).
PaddingBarrier
PointerTouchSource
A TouchSource for pointer Touches.
RainTouchMapper
Maps touches at specific points within the container to Touch objects, that are circular with a random touch strength. The diameter of the circle is dependant on the touch strength, simulating bigger rain drops hitting the water with more force.
RainTouchSource
SinglePixelTouchMapper
Maps touches at specific points within the container to Touch objects that represent only that same point. So these touches are only one pixel in size, and are at the same location within the container as the specified point.
SolidCircleBarrier
SolidCircleTouchMapper
Maps touches at specific points within the container to Touch objects, that are circular with a configurable diameter.
SolidEllipseBarrier
A solid ellipse Barrier.
SolidRectBarrier
SolidRectTouchMapper
Maps touches at specific points within the container to Touch objects, that are rectangular with a configurable width and height.
SourceImageProvider
Provides dart_ui.Images on demand.
StaticSourceImageProvider
An SourceImageProvider for an image that is static, meaning it will not change.
Touch
Represents a touch of the water.
TouchMapper
Maps touches at specific points (single pixels) within the container to Touch objects.
TouchPoint
Represents a point (pointX, pointY) where a single pixel of the water is touched with a certain strength (touchStrengthUnit).
TouchSource
A source of Touch objects.
TouchSourceAdapter
A TouchSource that has empty implementations for many of the less frequently needed methods.
WaterFXContainer
A widget that applies the WaterFX effect to its child widget.
WaterFXProcessor
A class that applies the WaterFX effect to an image (the source image).
WidgetSourceImageProvider
An ImageProvider for the image of a widget.

Enums

BarrierType
The type of barrier.