SvgStringLoader constructor

const SvgStringLoader(
  1. String _svg, {
  2. SvgTheme? theme,
  3. ColorMapper? colorMapper,
})

Creates an instance of SvgStringLoader.

The _svg parameter is the SVG string to be loaded. The optional theme and colorMapper can be provided for customization.

Implementation

const SvgStringLoader(
  this._svg, {
  super.theme,
  super.colorMapper,
});