blob_flutter library

A high-performance interactive 3D particle blob effect for Flutter.

Classes

BlobController
A controller for the BlobFlutter widget that provides programmatic control over blob geometry (radius, pointSize, particleCount, scale, offset), animation speed, particle physics, pinch-to-scale, and color flows.
BlobFlutter
A high-performance Flutter widget that renders an animated 3D particle blob.
BlobMath
Utility class for all 3D particle mathematics.

Enums

BlobErrorCode
Categorical code identifying the kind of failure that occurred.
BlobNoiseType
Defines the procedural 3D noise deformation algorithm used to morph the particle sphere.

Typedefs

BlobCustomNoiseFunction = double Function(double px, double py, double pz, double frequency, double time, double blobiness)
Function signature for a user-defined 3D procedural noise algorithm.

Exceptions / Errors

BlobControllerConflictException
Reported when conflicting parameters are passed to BlobFlutter alongside an external BlobController.
BlobFlutterException
Base exception class for all errors generated by blob_flutter.
BlobParameterException
Thrown or asserted when invalid configuration parameters are provided.
BlobRenderException
Thrown or reported when a GPU shader uniform push operation fails at runtime.
BlobShaderException
Thrown or reported when the GPU fragment shader cannot be loaded or compiled.
BlobWorkerException
Thrown or reported when the background particle computation isolate fails.