From 82d79c816adb2d86b4c9d8bd1cd5da114626bfe1 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 6 Feb 2024 13:28:51 -0300 Subject: [PATCH] fix exception message --- lib/src/platform_file.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/platform_file.dart b/lib/src/platform_file.dart index 7095ee2a..78d2ea36 100644 --- a/lib/src/platform_file.dart +++ b/lib/src/platform_file.dart @@ -38,7 +38,7 @@ class PlatformFile { if (kIsWeb) { /// https://github.com/miguelpruivo/flutter_file_picker/issues/751 throw ''' - On web `path` is always `null`, + On web `path` is unavailable and accessing it causes this exception. You should access `bytes` property instead, Read more about it [here](https://github.com/miguelpruivo/flutter_file_picker/wiki/FAQ) ''';