FilePicker
ย
FilePicker allows you to use the native file explorer to pick single or multiple files, with extensions filtering support.
ย
Plugin used
file_picker
: ^4.0.0
image_picker
: ^0.8.4ย
path
: ^1.8.0
ย
Features
_selectedFiles
: Contains the List of files selected to attach_multiPick
: If_multiPick
is true, we can select multiple files_picker
: Helps user to capture image from camera and upload it_pickingType
: Determines the type of file picked (For eg. .jpg, .png, .pdf)
ย
Widgets used from Flutter Material Library
SL No | Widgets | Description |
---|---|---|
1 |
| Choose Files button |
2 |
| Button label / Action text |
3 |
| Icons like add or cancel upload of files |
ย
Files Path :
Primary Files : punjab-mgramseva/frontend/mgramseva/lib/widgets/FilePicker.dart at master ยท misdwss/punjab-mgramseva