Skip to content

Commit 7df1c45

Browse files
committed
Bump file_picker plugin. Include additional file_picker options
1 parent daa6abc commit 7df1c45

File tree

6 files changed

+293
-84
lines changed

6 files changed

+293
-84
lines changed

example/lib/main.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class _MyHomePageState extends State<MyHomePage> {
4040
FormBuilderFilePicker(
4141
attribute: "images",
4242
decoration: InputDecoration(labelText: "Attachments"),
43-
maxFiles: 5,
43+
maxFiles: null,
4444
multiple: true,
4545
previewImages: true,
4646
onChanged: (val) => print(val),
@@ -52,6 +52,9 @@ class _MyHomePageState extends State<MyHomePage> {
5252
Text('Upload'),
5353
],
5454
),
55+
onFileLoading: (val){
56+
print(val);
57+
},
5558
),
5659
SizedBox(height: 20),
5760
RaisedButton(

0 commit comments

Comments
 (0)