getDirectoryPaths method

Future<List<String>> getDirectoryPaths(
  1. {String? initialDirectory,
  2. String? confirmButtonText}
)

Opens a file dialog for loading directories and returns multiple directory paths.

Returns an empty list if the user cancels the operation.

Implementation

// TODO(stuartmorgan): Switch to FileDialogOptions if we ever need to
// duplicate this to add a parameter.
Future<List<String>> getDirectoryPaths({
  String? initialDirectory,
  String? confirmButtonText,
}) {
  throw UnimplementedError('getDirectoryPaths() has not been implemented.');
}