From 608e12001d959f5af96a6895fb110bd77deaa962 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Jan 2026 15:45:19 +0000 Subject: [PATCH 1/2] Bump file_picker from 10.3.9 to 10.3.10 in the dev-dependencies group Bumps the dev-dependencies group with 1 update: [file_picker](https://github.com/miguelpruivo/flutter_file_picker). Updates `file_picker` from 10.3.9 to 10.3.10 - [Release notes](https://github.com/miguelpruivo/flutter_file_picker/releases) - [Changelog](https://github.com/miguelpruivo/flutter_file_picker/blob/master/CHANGELOG.md) - [Commits](https://github.com/miguelpruivo/flutter_file_picker/compare/v10.3.9...v10.3.10) --- updated-dependencies: - dependency-name: file_picker dependency-version: 10.3.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] --- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index e809d98..09a5eda 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -245,10 +245,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: b9c6bbfe174bcc1ec1e3a0de92e9b839fe553a46dd91862debfbbb5055ca876f + sha256: "57d9a1dd5063f85fa3107fb42d1faffda52fdc948cefd5fe5ea85267a5fc7343" url: "https://pub.dev" source: hosted - version: "10.3.9" + version: "10.3.10" fixnum: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 876392d..520f378 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -42,7 +42,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.6 - file_picker: ^10.3.9 + file_picker: ^10.3.10 http: ^1.6.0 dev_dependencies: From d139a8ca2ed4f6f5f0ddafa7376f8f051391bcc8 Mon Sep 17 00:00:00 2001 From: Ned Wolpert Date: Thu, 29 Jan 2026 07:27:05 -0700 Subject: [PATCH 2/2] Why is file picker so bad? Fix a fix to their previous fix... --- lib/routes/database_route.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/database_route.dart b/lib/routes/database_route.dart index dbc9e88..7243999 100644 --- a/lib/routes/database_route.dart +++ b/lib/routes/database_route.dart @@ -97,7 +97,7 @@ class DatabaseRoute extends StatelessWidget { void doExport(final SecretList secretList) { final String json = OTPSecret.writeToJSON(secretList.otpSecrets); - FilePicker + FilePicker.platform .saveFile( fileName: 'simple_otp.json', allowedExtensions: ['json'], @@ -117,7 +117,7 @@ class DatabaseRoute extends StatelessWidget { void doImport( final SecretList secretList, final void Function(Object) onError) async { try { - FilePickerResult? result = await FilePicker.pickFiles( + FilePickerResult? result = await FilePicker.platform.pickFiles( allowedExtensions: ['json', 'jsn'], ); if (result != null &&