refactor: Remove unused dependency

This commit is contained in:
Krille 2023-03-09 20:34:32 +01:00
parent 3e8d14a53f
commit 16a533cf40
3 changed files with 1 additions and 10 deletions

View File

@ -1,8 +1,5 @@
import 'dart:io';
import 'dart:typed_data';
import 'package:blurhash_dart/blurhash_dart.dart';
import 'package:image/image.dart';
import 'package:matrix/matrix.dart';
import 'package:path_provider/path_provider.dart';
import 'package:video_compress/video_compress.dart';
@ -54,8 +51,3 @@ extension ResizeImage on MatrixFile {
return null;
}
}
Future<BlurHash> createBlurHash(Uint8List file) async {
final image = decodeImage(file)!;
return BlurHash.encode(image, numCompX: 4, numCompY: 3);
}

View File

@ -929,7 +929,7 @@ packages:
source: hosted
version: "4.0.2"
image:
dependency: "direct main"
dependency: transitive
description:
name: image
sha256: "02bafd3b4f399bfeb10034deba9753d93b55ce41cd0c4d3d8b355626f80e5b32"

View File

@ -51,7 +51,6 @@ dependencies:
hive: ^2.2.3
hive_flutter: ^1.1.0
http: ^0.13.4
image: ^3.1.1
image_picker: ^0.8.4+8
intl: any
just_audio: ^0.9.30