lock approach is slower on ios

This commit is contained in:
mertalev
2026-01-17 01:05:12 -05:00
parent 06467f2c0d
commit d83e74dc88
5 changed files with 43 additions and 69 deletions
@@ -24,7 +24,7 @@ class LocalImageRequest extends ImageRequest {
isVideo: assetType == AssetType.video,
);
final frame = await _fromPlatformImage(info, ui.PixelFormat.rgba8888, true);
final frame = await _fromPlatformImage(info, true);
return frame == null ? null : ImageInfo(image: frame.image, scale: scale);
}