AppNetworkImage constructor

const AppNetworkImage({
  1. Key? key,
  2. required String url,
  3. double? width,
  4. double? height,
  5. BoxFit fit = BoxFit.cover,
  6. double? radius,
  7. BorderRadius? borderRadius,
  8. IconData? placeholderIcon,
  9. IconData? errorIcon,
  10. Color? placeholderColor,
})

Implementation

const AppNetworkImage({
  super.key,
  required this.url,
  this.width,
  this.height,
  this.fit = BoxFit.cover,
  this.radius,
  this.borderRadius,
  this.placeholderIcon,
  this.errorIcon,
  this.placeholderColor,
});