MarkerBuilder typedef

MarkerBuilder = List<Widget> Function(BuildContext context)

Builder that produces additional overlay widgets (markers) to be placed on top of the SVG.

The builder should return a list of widgets that will be inserted into the same stack as the SVG. Use this to render labels, guides or diagnostic overlays.

  • context: the build context.

Implementation

typedef MarkerBuilder = List<Widget> Function(
  BuildContext context,
);