InteractiveBuilder typedef
InteractiveBuilder =
Widget Function(BuildContext context, Widget builder(), SvgRegionsDetails details)
Builder used to wrap or decorate a parsed SVG region.
context: the build context.builder: the Widget that renders the SVG fragment for the region (already configured with fit/alignment).details: metadata about the region (selector and computed bounds). Note thatdetails.boundsmay be null on the initial build because bounds are computed after layout; when bounds become available, useshouldRebuildWhenBoundsCalculatedon the parent to request a rebuild so the builder receives updateddetails.
Implementation
typedef InteractiveBuilder = Widget Function(
BuildContext context,
Widget Function() builder,
SvgRegionsDetails details,
);