We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22fa5ba commit 32c7466Copy full SHA for 32c7466
example/lib/main.dart
@@ -52,9 +52,11 @@ class _MyHomePageState extends State<MyHomePage> {
52
if (mounted) {
53
setState(() {});
54
}
55
- data = await _entity.thumbDataWithSize(
56
- (size.width * scale).toInt(),
57
- (size.height * scale).toInt(),
+ data = await _entity.thumbnailDataWithSize(
+ ThumbnailSize(
+ (size.width * scale).toInt(),
58
+ (size.height * scale).toInt(),
59
+ ),
60
);
61
62
pubspec.yaml
@@ -14,5 +14,5 @@ dependencies:
14
camera: ^0.9.4+6
15
path: ^1.8.0
16
path_provider: ^2.0.8
17
- photo_manager: ^2.0.0-dev.7
+ photo_manager: ^2.0.0-dev.14
18
video_player: ^2.2.14
0 commit comments