Tag

overlayportal

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Nov 27, 2024 · Mobile Development

Implementing Particle Snap Effect in Flutter Using Shaders and OverlayPortal

The article shows how to create a Thanos‑style particle snap animation in Flutter by capturing a widget screenshot, inserting an OverlayPortal layer, and applying a custom fragment shader that treats each pixel as a moving, fading particle, with detailed GLSL code and shader loading steps.

FlutterGLSLMobileDevelopment
0 likes · 22 min read
Implementing Particle Snap Effect in Flutter Using Shaders and OverlayPortal
Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Mobile Development

Understanding Flutter's OverlayPortal: Architecture, Usage, and Differences from OverlayEntry

Flutter’s OverlayPortal adds a page‑scoped layer to the global Overlay, letting widgets like tooltips inherit parent state while remaining independent in the overlay hierarchy, and replaces many OverlayEntry use‑cases by using a controller, surrogate render objects, and automatic lifecycle management.

DartFlutterOverlay
0 likes · 8 min read
Understanding Flutter's OverlayPortal: Architecture, Usage, and Differences from OverlayEntry