Svg constructor
Svg(
- PictureInfo pictureInfo, {
- double? pixelRatio,
Creates an Svg with the received pictureInfo
.
Default pixelRatio
is the device pixel ratio.
Implementation
Svg(this.pictureInfo, {double? pixelRatio})
: pixelRatio = pixelRatio ??
PlatformDispatcher.instance.views.first.devicePixelRatio;