SizedPicture constructor
picture is the showing image, it can retrieve from a svg icon, for example:
const String rawSvg = 'your svg string';
final DrawableRoot svgRoot = await svg.fromSvgString(rawSvg, rawSvg);
final picture = svgRoot.toPicture()
Implementation
SizedPicture(this.picture, this.width, this.height);