Skip to content

Commit 56cd2bc

Browse files
fix: Remove lint info
1 parent 80d6be0 commit 56cd2bc

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

example/lib/main.dart

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,17 @@ class MyHomePageState extends State<MyHomePage> {
4747
allowMultiple: true,
4848
previewImages: true,
4949
onChanged: (val) => debugPrint(val.toString()),
50-
selector: Row(
51-
children: const <Widget>[
52-
Icon(Icons.file_upload),
53-
Text('Upload'),
54-
],
55-
),
50+
typeSelectors: [
51+
TypeSelector(
52+
type: FileType.any,
53+
selector: Row(
54+
children: const <Widget>[
55+
Icon(Icons.file_upload),
56+
Text('Upload'),
57+
],
58+
),
59+
)
60+
],
5661
onFileLoading: (val) {
5762
debugPrint(val.toString());
5863
},

0 commit comments

Comments
 (0)