RenderSVGRoot constructor

RenderSVGRoot({
  1. required CSSRenderStyle renderStyle,
  2. Rect? viewBox,
  3. SVGPreserveAspectRatio? ratio,
})

Implementation

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