SkadiNetworkImage constructor

const SkadiNetworkImage({
  1. Key? key,
  2. required String imageUrl,
  3. BoxFit fit = BoxFit.cover,
  4. BorderRadius radius = BorderRadius.zero,
  5. Widget? loading,
  6. Widget? error,
  7. double? width,
  8. double? height,
  9. Color? color,
})

Implementation

const SkadiNetworkImage({
  Key? key,
  required this.imageUrl,
  this.fit = BoxFit.cover,
  this.radius = BorderRadius.zero,
  this.loading,
  this.error,
  this.width,
  this.height,
  this.color,
}) : super(key: key);