widgets/spoiler_render_object library

Classes

RenderSpoiler
RenderBox that can paint overlay effects (before/after child), apply an optional clip, and report text rects for spoiler effects.
SpoilerCanvas
Canvas wrapper that collects paragraph word bounds while forwarding all drawing to the underlying canvas.
SpoilerPaintingContext
Painting context that captures text bounding rects while delegating normal painting to Flutter's pipeline.
SpoilerRenderObjectWidget
Render object widget that paints a child while exposing hook points for clipping, particle painting, and rectangle collection.