gooey
0.2.0, released 7 months ago by codeness.ly
A layout-agnostic gooey and metaball effect widget for Flutter using fragment shaders.
What it does
Creates a liquid-like metaball visual effect by merging multiple widgets together using hardware-accelerated fragment shaders. It works with any widget arrangement as long as elements are descendants of a GooeyZone.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want nearby UI elements to visually merge together like liquid.
- You need hardware-accelerated metaball effects in Flutter layouts.
Skip it when
- You have more than 10 GooeyBlob children inside a single GooeyZone.
- Target platforms do not support GLSL fragment shaders.
Strengths
- Layout-agnostic, works with Row, Column, Stack, and Wrap widgets.
- Hardware-accelerated rendering using GLSL fragment shaders.
- Supports gradient fills and cutout blobs.
Weaknesses
- Limited to a maximum of 10 GooeyBlob children per GooeyZone.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
GooeyZone(
color: Colors.indigo,
gooiness: 30,
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
GooeyBlob(shape: const BlobShape.circle(), child: Icon(Icons.add)),
GooeyBlob(shape: const BlobShape.circle(), child: Icon(Icons.edit)),
],
),
)Alternatives
Packages that do the same job and could replace gooey.
- patterns_canvas
Draw patterns like stripes, dots, or checkers on Canvas elements or widgets in Flutter.
64Compare - ticket_widget
Flutter package to implement a ticket-like widget in your application.
50Compare - liquid_swipe
A Flutter plugin to implement a liquid swipe effect to provided widgets.
50Compare - prompt_dialog
A JavaScript-like prompt dialog widget for Flutter applications.
50Compare