DecorationSvgImage constructor

const DecorationSvgImage({
  1. required String svg,
  2. BoxFit fit = BoxFit.cover,
  3. Alignment alignment = Alignment.center,
})

Implementation

const DecorationSvgImage({
  required this.svg,
  this.fit = BoxFit.cover,
  this.alignment = Alignment.center,
});