Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.2.0+1

* Adds `getDirectoriesPaths` method to interface.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Adds `getDirectoriesPaths` method to interface.
* Adds `getDirectoriesPaths` method to platform interface.


## 2.2.0

* Makes `XTypeGroup`'s constructor constant.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,13 @@ abstract class FileSelectorPlatform extends PlatformInterface {
}) {
throw UnimplementedError('getDirectoryPath() has not been implemented.');
}

/// Open file dialog for loading directories and return multiple directories paths
/// Returns `null` if user cancels the operation.
Future<List<String?>> getDirectoriesPaths({
String? initialDirectory,
String? confirmButtonText,
}) {
throw UnimplementedError('getDirectoriesPaths() has not been implemented.');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.2.0
version: 2.2.0+1

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down