loadFromString static method
Loads an Svg from a string.
Implementation
static Future<Svg> loadFromString(
String svgString, {
double? pixelRatio,
}) async {
final pictureInfo = await vg.loadPicture(SvgStringLoader(svgString), null);
return Svg(
pictureInfo,
pixelRatio: pixelRatio,
);
}