BaseResizeImage.memory constructor

BaseResizeImage.memory(
  1. Uint8List bytes, {
  2. double scale = 1.0,
  3. bool cacheRawData = false,
  4. String? imageCacheName,
  5. int? cacheWidth,
  6. int? cacheHeight,
  7. double? compressionRatio,
  8. int? maxBytes,
})

Implementation

BaseResizeImage.memory(
  Uint8List bytes, {
  double scale = 1.0,
  bool cacheRawData = false,
  String? imageCacheName,
  int? cacheWidth,
  int? cacheHeight,
  double? compressionRatio,
  int? maxBytes,
}) : super(ExtendedResizeImage.resizeIfNeeded(
          cacheWidth: cacheWidth,
          cacheHeight: cacheHeight,
          maxBytes: maxBytes,
          compressionRatio: compressionRatio,
          cacheRawData: cacheRawData,
          imageCacheName: imageCacheName,
          provider: ExtendedMemoryImageProvider(bytes,
              scale: scale,
              cacheRawData: cacheRawData,
              imageCacheName: imageCacheName)));