form_builder_file_picker
5.1.0, released 10 months ago by flutterformbuilderecosystem.com
File picker input field for the flutter_form_builder package.
What it does
Provides a FormBuilderFilePicker widget that integrates file picking capabilities directly into flutter_form_builder forms. It supports multiple file types, automatic permission handling, and image previews.
AI-written summary of version 5.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building forms with flutter_form_builder and need file or image upload inputs.
- You want automatic permission handling for picking files across mobile and desktop platforms.
Skip it when
- You are not using the flutter_form_builder ecosystem in your application.
- You only need standalone file picking functionality without form state management.
Strengths
- Seamless integration with flutter_form_builder
- Supports multiple file types and custom selectors via TypeSelector
- Automatic permission handling
Weaknesses
- Strictly bound to the flutter_form_builder package dependency
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Requires platform-specific setup as documented by the underlying file_picker package.
FormBuilderFilePicker(
name: "images",
decoration: InputDecoration(labelText: "Attachments"),
maxFiles: null,
previewImages: true,
onChanged: (val) => print(val),
)Alternatives
Packages that do the same job and could replace form_builder_file_picker.
- advanced_forms
Flutter form validation and state management with typed controllers and validators.
85Compare - pinput
Customizable animated PIN and OTP code input widget with autofill support.
93Compare - pin_code_fields
A customizable PIN and OTP input field widget for Flutter with headless core and Material support.
93Compare - flutter_country_selector
A country picker widget to select a country, now re-exported from phone_form_field.
75Compare
Works with
Packages commonly used together with form_builder_file_picker: ones it builds on, ones built on it, and its own family.
- file_pickerform_builder_file_picker depends on itUse the native file explorer to pick single or multiple files, directories, and save files.
- flutter_form_builderform_builder_file_picker depends on itHelps create forms in Flutter by removing boilerplate code and reusing validation.
- community_material_iconform_builder_file_picker depends on itA community material design icon set for Flutter applications.
- form_builder_validatorsSame familyA comprehensive collection of ready-made FormField validators for Flutter.
- form_builder_extra_fieldsSame familyAdditional ready-made form input fields for the flutter_form_builder package
- form_builder_phone_fieldSame familyInternational phone number input field for the flutter_form_builder package.
- form_builder_image_pickerSame familyFormBuilder field widget to pick images from gallery or camera.