Describe the bug
After updating the file picker to 10.3.9, I can no longer access FilePicker.platform.
This breaks my current implementation.
Platform
- [ X] Android
- [ X] iOS
- [ X] Web
Platform OS version
MacOS
How are you picking?
final result = await FilePicker.platform.pickFiles(allowMultiple: true);
Details to reproduce the issue
- Try accessing FilePicker.platform.
Error Log
Resolving dependencies...
Downloading packages...
...
Got dependencies!
16 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Analyzing 2 items...
error • The getter 'platform' isn't defined for the type 'FilePicker' • lib/file_picker/file_picker_io.dart:8:35 • undefined_getter
1 issue found. (ran in 33.8s)
Error: Process completed with exit code 1.
The getter 'platform' isn't defined for the type 'FilePicker'.
Try importing the library that defines 'platform', correcting the name to the name of an existing getter, or defining a getter or field named 'platform'.
Screenshots and/or video
Flutter Version details
[✓] Flutter (Channel stable, 3.38.7, on macOS 26.1 25B78 darwin-arm64, locale en-SE)
• Flutter version 3.38.7 on channel stable at /Users/joelbrostrom/fvm/versions/3.38.7
• Framework revision 3b62efc2a3 (13 days ago), 2026-01-13 13:47:42 -0800
• Engine revision 78fc3012e4
• Dart version 3.10.7
• DevTools version 2.51.1
• Feature flags: enable-web, no-enable-linux-desktop, enable-macos-desktop, no-enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 26.2)
[✓] Chrome - develop for the web
[✓] Connected device (2 available)
[✓] Network resources
Additional context
file_picker: ^10.3.9
Describe the bug
After updating the file picker to 10.3.9, I can no longer access FilePicker.platform.
This breaks my current implementation.
Platform
Platform OS version
MacOS
How are you picking?
Details to reproduce the issue
Error Log
Screenshots and/or video
Flutter Version details
Additional context
file_picker: ^10.3.9