flutter_file_uploader 2.2.0
flutter_file_uploader: ^2.2.0 copied to clipboard
Flutter widgets that simplify the creation and use of the en_file_uploader library. They include both the UI and business logic for file management.
2.2.0 - 2026-05-23 #
Added #
- Added external model support to
FileUploader: Introduced the model parameter (accepting aFileUploaderModel). This enables external state management to programmatically trigger file additions from outside. - Added a constructor
assertto enforce mutual exclusion. You can now use either the model OR the individual widget properties (such asonFileAdded,limit,transformers, etc.), but not both simultaneously. This prevents state conflicts and ensures a single source of truth.
2.1.0 - 2026-05-23 #
2.0.0 - 2026-05-19 #
Added #
- Added support to file transformation on
FileUploader. For more info aboutFileTransformersee en_file_uploader documentation
Changed #
- Breaking, updated to reflect the breaking changes introduced in
en_file_uploader. For the breaking changes, see the changelog ofen_file_uploader. - chore: improved examples to show how to use file upload handlers also with transformation.
- chore: significantly improved test suite coverage and overall reliability.
1.3.0 - 2024-09-15 #
Added #
- on
exampleproject added a global state to change the parameters ofFileUploader - added
FileUploader.color - added
FileUploaderConsumer,FileUploaderSelectorto interact withFileUploaderModel