SvgDrawing constructor

const SvgDrawing({
  1. required Rect viewBox,
  2. required List<SvgShape> shapes,
})

Creates a drawing from already-flattened shapes.

Implementation

const SvgDrawing({required this.viewBox, required this.shapes});