svgByteDecoderBuilder property

PictureInfoDecoderBuilder<Uint8List> svgByteDecoderBuilder
final

A PictureInfoDecoderBuilder for Uint8Lists that will clip to the viewBox.

Implementation

static final PictureInfoDecoderBuilder<Uint8List> svgByteDecoderBuilder =
    (SvgTheme theme) =>
        (Uint8List bytes, ColorFilter? colorFilter, String key) =>
            svg.svgPictureDecoder(
              bytes,
              false,
              colorFilter,
              key,
              theme: theme,
            );