SvgImage constructor

const SvgImage(
  1. String svg, {
  2. double width = 120,
  3. double height = 80,
  4. String color = '1A237E',
  5. double strokeWidth = 1.2,
})

SvgImage API.

Implementation

const SvgImage(
  this.svg, {
  this.width = 120,
  this.height = 80,
  this.color = '1A237E',
  this.strokeWidth = 1.2,
});