RenderSVGRoot constructor
RenderSVGRoot({
- required CSSRenderStyle renderStyle,
- Rect? viewBox,
- SVGPreserveAspectRatio? ratio,
Implementation
RenderSVGRoot({
required super.renderStyle,
Rect? viewBox,
SVGPreserveAspectRatio? ratio,
}) : _viewBox = viewBox,
_ratio = ratio ?? const SVGPreserveAspectRatio() {}