openFile method
Future<XFile?>
openFile({
- List<
XTypeGroup> ? acceptedTypeGroups, - String? initialDirectory,
- String? confirmButtonText,
Opens a file dialog for loading files and returns a file path.
Returns null
if the user cancels the operation.
Implementation
// TODO(stuartmorgan): Switch to FileDialogOptions if we ever need to
// duplicate this to add a parameter.
Future<XFile?> openFile({
List<XTypeGroup>? acceptedTypeGroups,
String? initialDirectory,
String? confirmButtonText,
}) {
throw UnimplementedError('openFile() has not been implemented.');
}