From 7f44ae1127ab56d2cf141704f024b484228b1c8a Mon Sep 17 00:00:00 2001 From: X Code Date: Thu, 15 Sep 2022 13:08:18 -0700 Subject: [PATCH] Update _onImagePaste --- example/lib/pages/home_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/pages/home_page.dart b/example/lib/pages/home_page.dart index 63292458..ec6523bf 100644 --- a/example/lib/pages/home_page.dart +++ b/example/lib/pages/home_page.dart @@ -353,7 +353,7 @@ class _HomePageState extends State { } Future _onImagePaste(Uint8List imageBytes) async { - // Copies the picked file from temporary cache to applications directory + // Saves the image to applications directory final appDocDir = await getApplicationDocumentsDirectory(); final file = await File( '${appDocDir.path}/${basename('${DateTime.now().millisecondsSinceEpoch}.png')}')