SVGDocument constructor

SVGDocument({
  1. bool addHeader = false,
  2. bool edgeOnly = false,
})

Implementation

SVGDocument({bool addHeader = false, this.edgeOnly = false}) {
  if (addHeader) {
    setAttribute('xmlns', 'http://www.w3.org/2000/svg');
    setAttribute('version', '1.1');
  }
}