SvgBytesLoader constructor

const SvgBytesLoader(
  1. Uint8List bytes, {
  2. SvgTheme? theme,
  3. ColorMapper? colorMapper,
})

Creates an instance of SvgBytesLoader.

The bytes parameter should contain UTF-8 encoded XML data representing the SVG.

Implementation

const SvgBytesLoader(
  this.bytes, {
  super.theme,
  super.colorMapper,
});