blob_flutter
1.1.0, released 7 weeks ago by dexter.amirnetwork.co.uk
A Flutter widget that renders a high‑performance 3D particle blob using GPU shaders and background isolates.
What it does
It draws thousands of particles in 3D space, applying procedural noise for shape, and uses a single GPU draw call for smooth animation. The widget supports touch interaction, depth sorting, and auto‑fit to its parent.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a visually striking 3D blob effect for a splash screen or background.
- You want interactive particle animation without writing custom shaders or isolate logic.
- You need responsive sizing across devices and web.
- You want to control the blob at runtime via a controller.
Skip it when
- You need a lightweight widget with minimal dependencies for a simple UI.
- You are targeting very low‑end devices where GPU shaders may not be available.
- You require custom physics beyond what the controller exposes.
Strengths
- Zero‑jank architecture with background isolate math.
- Hardware‑accelerated shaders for smooth gradients and shimmer.
- Single GPU draw call via Canvas.drawRawPoints.
- Auto‑fit and responsive sizing.
Weaknesses
- Requires Flutter 3.10+ for isolate and shader support.
- Web performance may need tuning for very high particle counts.
- Limited to 3D particle blobs; not a general animation framework.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency in pubspec and import package: import 'package:blob_flutter/blob_flutter.dart';
import 'package:blob_flutter/blob_flutter.dart';
BlobFlutter(
particleCount: 5000,
autoFit: true,
enableDepthSort: true,
enableDepthCueing: true,
noiseType: BlobNoiseType.harmonic,
gradient: const LinearGradient(colors: [Colors.cyanAccent, Colors.purpleAccent]),
);Alternatives
Packages that do the same job and could replace blob_flutter.
- flutter_joystick
A virtual joystick widget for Flutter applications with high customization.
81Compare - flash
Customizable alert and toast widget for Flutter
50Compare - flutter_polls
Customizable polls widget for Flutter applications.
50Compare - animated_custom_dropdown
Highly customizable animated dropdown for Flutter — search, network search with infinite scroll, multi-selection, overlay animations and a floating label.
76Compare