From b49a6b978602f303ac57ceb05c50ff4df7e3a6c0 Mon Sep 17 00:00:00 2001 From: Sachin Ganesh Date: Tue, 15 Jun 2021 12:09:00 +0530 Subject: [PATCH] Release 1.2.1 --- CHANGELOG.md | 3 +++ lib/src/platform_specific/file_manager/non_io.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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: