IDKitImage.uint8List constructor

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

Image resource loading method of Uint8List type.

Implementation

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