flutter-form-builder-ecosystem / form_builder_file_picker

File picker field widget for FlutterFormBuilder.
https://pub.dev/packages/form_builder_file_picker
BSD 3-Clause "New" or "Revised" License
15 stars 33 forks source link

No named parameter with the name 'fileExtension' #2

Closed TafadzwaD closed 4 years ago

TafadzwaD commented 4 years ago

I have tried using the example code for form_builder_file_picker but it is resulting to the below error. Kindly assist

****/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/form_builder_file_picker-0.1.0/lib/src/form_builder_form_picker.dart:137:9: Error: No named parameter with the name 'fileExtension'.
        fileExtension: widget.fileExtension,
        ^^^^^^^^^^^^^
****/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/file_picker-1.9.0+1/lib/file_picker.dart:28:38: Context: Found this candidate, but the arguments don't match.
  static Future<Map<String, String>> getMultiFilePath(
danvick commented 4 years ago

Which version of Flutter are you using?

TafadzwaD commented 4 years ago

@danvick Flutter 1.12.13+hotfix.9 • channel stable

danvick commented 4 years ago

Kindly upgrade to v0.2.0.

Thanks for your feedbback.

TafadzwaD commented 4 years ago

That did the trick!!!!!!! Thank you😀😀😀😀