UniversalImage constructor

const UniversalImage({
  1. Key? key,
  2. String? imagePath,
  3. double? height,
  4. double? width,
  5. double borderRadius = 12,
  6. bool isCircular = false,
  7. BoxFit fit = BoxFit.cover,
  8. Color? color,
})

Constructor

Implementation

const UniversalImage({
  super.key,
  this.imagePath,
  this.height,
  this.width,
  this.borderRadius = 12,
  this.isCircular = false,
  this.fit = BoxFit.cover,
  this.color,
});