ExtendedImageWithAssetsPicker.memory constructor

ExtendedImageWithAssetsPicker.memory(
  1. Uint8List bytes, {
  2. Key? key,
  3. ExtendedImageLoadStateBuilder? loading,
  4. ExtendedImageLoadStateBuilder? failed,
  5. double? width,
  6. double? height,
  7. BoxFit? fit = BoxFit.cover,
})

Implementation

ExtendedImageWithAssetsPicker.memory(Uint8List bytes,
    {super.key,
    this.loading,
    this.failed,
    super.width,
    super.height,
    super.fit = BoxFit.cover})
    : super.memory(bytes,
          imageCacheName: bytes.hashCode.toString(),
          enableLoadState: true,
          loadStateChanged:
              _buildLoadStateChanged(failed: failed, loading: loading));