SvgForeignObjectBuilder typedef

SvgForeignObjectBuilder = Widget? Function(BuildContext context, SvgForeignObjectInfo info)

Callback for custom foreignObject rendering. Return a Widget to render custom content, or null to use default behavior (skip). The widget will be positioned within the foreignObject bounds.

Implementation

typedef SvgForeignObjectBuilder =
    Widget? Function(BuildContext context, SvgForeignObjectInfo info);