IDKitImage.image constructor

const IDKitImage.image({
  1. Key? key,
  2. required Image? image,
  3. double? width,
  4. double? height,
  5. Color? activityIndicatorColor,
  6. Widget? loadingChild,
  7. Widget? errorChild,
})

Image resource loading method of Image type.

Implementation

const IDKitImage.image({
  super.key,
  required this.image,
  this.width,
  this.height,
  this.activityIndicatorColor,
  this.loadingChild,
  this.errorChild,
})  : byteData = null,
      byteBuffer = null,
      immutableBuffer = null,
      uint8List = null,
      uint32List = null,
      pixelFormat = null;