diff --git a/CHANGELOG.md b/CHANGELOG.md index b61152d..b73cdfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [1.2.1] - 13/06/2021 +* Removal of compilation warning @yanivshaked + ## [1.2.0] - 13/06/2021 * Add support for invisible widget capture diff --git a/lib/src/platform_specific/file_manager/non_io.dart b/lib/src/platform_specific/file_manager/non_io.dart index ba0a980..69204d8 100644 --- a/lib/src/platform_specific/file_manager/non_io.dart +++ b/lib/src/platform_specific/file_manager/non_io.dart @@ -9,7 +9,7 @@ class PlatformFileManagerWeb implements PlatformFileManager { @override Future saveFile(Uint8List fileContent, String path, {String? name}) async { - throw UnsupportedError("File cannot be saved in current platform"); + throw UnsupportedError("File cannot be saved in current platform"); // name = name ?? "${DateTime.now().microsecondsSinceEpoch}.png"; // File file = await File("$path/$name").create(recursive: true); // file.writeAsBytesSync(fileContent); diff --git a/pubspec.yaml b/pubspec.yaml index 83d1ccc..8dbfa7c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: screenshot description: Flutter Screenshot Package (Runtime). Capture any Widget as an image. -version: 1.2.0 +version: 1.2.1 homepage: https://github.com/SachinGanesh/screenshot environment: