ProSvgURL constructor

const ProSvgURL({
  1. Key? key,
  2. required double height,
  3. required double width,
  4. required String imagePath,
  5. Color? color,
  6. BoxFit? boxFit,
  7. Alignment? imageAlignment,
  8. double? borderRadius,
})

Using svg URL images are now more easy with ProSvgURL. Just check parameters and pass values.

Implementation

const ProSvgURL({
  Key? key,
  required this.height,
  required this.width,
  required this.imagePath,
  this.color,
  this.boxFit,
  this.imageAlignment,
  this.borderRadius,
}) : super(key: key);