AdaptiveImage constructor

const AdaptiveImage({
  1. Key? key,
  2. required String imagePath,
  3. double? width,
  4. double? height,
  5. BoxFit fit = BoxFit.contain,
  6. BorderRadius? borderRadius,
  7. Widget? placeholder,
  8. Widget? errorWidget,
})

Implementation

const AdaptiveImage({
  super.key,
  required this.imagePath,
  this.width,
  this.height,
  this.fit = BoxFit.contain,
  this.borderRadius,
  this.placeholder,
  this.errorWidget,
});