mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -105,7 +105,7 @@ Future<void> _createThumbnails(Directory directory) async {
|
||||
}
|
||||
|
||||
var pathPrefix = path.dirname(entity.path);
|
||||
var thumbnailFile = File(path.join(pathPrefix, filename + '_thumb.png'));
|
||||
var thumbnailFile = File(path.join(pathPrefix, '${filename}_thumb.png'));
|
||||
|
||||
var img = image.decodeImage(await entity.readAsBytes());
|
||||
var resized = image.copyResize(img!, width: 640);
|
||||
|
||||
Reference in New Issue
Block a user