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 +---