$ show SimformSolutionsPvtLtd/showcaseview
This is a Flutter package for creating step-by-step showcase/onboarding tours. It highlights widgets with tooltips, supports custom tooltip widgets, auto-play, animations, and multiple scopes. The architecture uses a service locator pattern (ShowcaseService) to manage independent showcase scopes without requiring BuildContext. The overlay system uses a custom ShapeClipper to cut out holes around target widgets. The code is well-organized and actively maintained, though it lacks unit tests.
The LLM identified 2 files worth highlighting for reuse:
A service class that calculates the global position and bounding rectangle of a widget relative to an optional ancestor RenderObject. It handles padding, screen boundary clamping, and caches results to avoid redundant calculations. This is a self-contained utility that could be reused in any Flutter project needing precise widget positioning for overlays, tooltips, or popups.
A CustomClipper that creates a path with cutout shapes (rectangular or circular) for multiple target widgets, merging overlapping cutouts using Path.combine with difference operation. It supports optional per-corner radii and is used to punch holes in the showcase overlay. This clipper is reusable for any spotlight or tutorial overlay effect in Flutter.