svgStringDecoderBuilder property

PictureInfoDecoderBuilder<String> svgStringDecoderBuilder
final

A PictureInfoDecoderBuilder for strings that will clip to the viewBox.

Implementation

static final PictureInfoDecoderBuilder<String> svgStringDecoderBuilder =
    (Color? currentColor) =>
        (String data, ColorFilter? colorFilter, String key) =>
            svg.svgPictureStringDecoder(
              data,
              false,
              colorFilter,
              key,
              theme: SvgTheme(currentColor: currentColor),
            );