We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d6be0 commit 56cd2bcCopy full SHA for 56cd2bc
example/lib/main.dart
@@ -47,12 +47,17 @@ class MyHomePageState extends State<MyHomePage> {
47
allowMultiple: true,
48
previewImages: true,
49
onChanged: (val) => debugPrint(val.toString()),
50
- selector: Row(
51
- children: const <Widget>[
52
- Icon(Icons.file_upload),
53
- Text('Upload'),
54
- ],
55
- ),
+ typeSelectors: [
+ TypeSelector(
+ type: FileType.any,
+ selector: Row(
+ children: const <Widget>[
+ Icon(Icons.file_upload),
56
+ Text('Upload'),
57
+ ],
58
+ ),
59
+ )
60
61
onFileLoading: (val) {
62
debugPrint(val.toString());
63
},
0 commit comments