setOnShowFileSelector method
Future<void>
setOnShowFileSelector(
- Future<
List< onShowFileSelector(String> >- FileSelectorParams params
Sets the callback that is invoked when the client should show a file selector.
Implementation
Future<void> setOnShowFileSelector(
Future<List<String>> Function(FileSelectorParams params)?
onShowFileSelector,
) {
_onShowFileSelectorCallback = onShowFileSelector;
return _webChromeClient.setSynchronousReturnValueForOnShowFileChooser(
onShowFileSelector != null,
);
}