add ffi dependency

formatting
This commit is contained in:
mertalev
2025-08-01 19:29:49 -04:00
parent 98c1f3c476
commit cb51300356
3 changed files with 3 additions and 6 deletions
@@ -11,11 +11,7 @@ class AssetMediaRepository {
const AssetMediaRepository();
Future<ui.Codec> getLocalThumbnail(String localId, ui.Size size) async {
final info = await thumbnailApi.getThumbnailBuffer(
localId,
width: size.width.toInt(),
height: size.height.toInt(),
);
final info = await thumbnailApi.getThumbnailBuffer(localId, width: size.width.toInt(), height: size.height.toInt());
final pointer = Pointer<Uint8>.fromAddress(info['pointer']!);
final actualWidth = info['width']!;