提交 b49a6b97 authored 作者: Sachin Ganesh's avatar Sachin Ganesh

Release 1.2.1

上级 d82a94be
## [1.2.1] - 13/06/2021
* Removal of compilation warning @yanivshaked
## [1.2.0] - 13/06/2021 ## [1.2.0] - 13/06/2021
* Add support for invisible widget capture * Add support for invisible widget capture
......
...@@ -9,7 +9,7 @@ class PlatformFileManagerWeb implements PlatformFileManager { ...@@ -9,7 +9,7 @@ class PlatformFileManagerWeb implements PlatformFileManager {
@override @override
Future<String> saveFile(Uint8List fileContent, String path, Future<String> saveFile(Uint8List fileContent, String path,
{String? name}) async { {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"; // name = name ?? "${DateTime.now().microsecondsSinceEpoch}.png";
// File file = await File("$path/$name").create(recursive: true); // File file = await File("$path/$name").create(recursive: true);
// file.writeAsBytesSync(fileContent); // file.writeAsBytesSync(fileContent);
......
name: screenshot name: screenshot
description: Flutter Screenshot Package (Runtime). Capture any Widget as an image. 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 homepage: https://github.com/SachinGanesh/screenshot
environment: environment:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论