presentation/widgets/common/spotlight_overlay
library
Classes
-
SpotlightHolePainter
-
Cuts a rounded-rect hole out of a full-screen dim scrim using
Path.combine's difference op. Public (rather than the usual
underscore-private painter convention in this file's siblings) so a
widget test can pull .hole back off the mounted CustomPaint and
assert it against the target's real RenderBox bounds.
-
SpotlightOverlay
-
Onboarding/tutorial coach-mark: dims the whole screen except a
highlighted "hole" cut around a target widget's actual on-screen bounds,
plus a guidance callout with a dismiss button.