SvgOptimizeConfig constructor

const SvgOptimizeConfig({
  1. bool removeComments = true,
  2. bool removeMetadata = true,
  3. bool removeEditorData = true,
  4. bool removeEmptyAttributes = true,
  5. bool removeDefaultValues = true,
  6. bool removeEmptyContainers = true,
  7. bool removeHiddenElements = true,
  8. bool removeWhitespace = true,
  9. bool shortenNumbers = true,
  10. int precision = 3,
})

Implementation

const SvgOptimizeConfig({
  this.removeComments = true,
  this.removeMetadata = true,
  this.removeEditorData = true,
  this.removeEmptyAttributes = true,
  this.removeDefaultValues = true,
  this.removeEmptyContainers = true,
  this.removeHiddenElements = true,
  this.removeWhitespace = true,
  this.shortenNumbers = true,
  this.precision = 3,
});