The web implementation of file_selector.


This package is endorsed, which means you can simply use file_selector normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Limitations on the Web platform

cancel event

The cancel event used by the web plugin to detect when users close the file selector without picking a file is relatively new, and will only work in recent browsers.