From 86271cbd2dc4e2d5587eb727f3a889e1b61aaf29 Mon Sep 17 00:00:00 2001 From: shinriyo Date: Sat, 11 Dec 2021 23:34:10 +0900 Subject: [PATCH] some bug you forgot something --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ca6611..e4fde6c 100644 --- a/README.md +++ b/README.md @@ -87,11 +87,11 @@ For this you can use `captureAndSave` method by passing directory location. By d ```dart final directory = (await getApplicationDocumentsDirectory ()).path; //from path_provide package -String fileName = DateTime.now().microsecondsSinceEpoch; +String fileName = DateTime.now().microsecondsSinceEpoch as String; path = '$directory'; screenshotController.captureAndSave( - path //set path where screenshot will be saved + path, //set path where screenshot will be saved fileName:fileName ); ``` @@ -147,4 +147,4 @@ screenshotController.capture(delay: Duration(milliseconds: 10)) --- ## Known Issues - **`Platform Views are not supported. (Example: Google Maps, Camera etc)`[issue](https://github.com/flutter/flutter/issues/83856)** ---- \ No newline at end of file +---