-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[file_selector] Add getDirectoryPaths
#3871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[file_selector] Add getDirectoryPaths
#3871
Conversation
Exposes the new `getDirectoryPaths` API, and updates the desktop implementation package constraints to ensure that the implementations are present. This is a slightly updated recreation of flutter/plugins#6576 Fixes flutter/flutter#74323
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good modulo a tiny nit on comments.
/// Screen that allows the user to select one or more directories using `getDirectoryPaths`, | ||
/// then displays the selected directories in a dialog. | ||
class GetMultipleDirectoriesPage extends StatelessWidget { | ||
/// Default Constructor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably kill this line. It doesn't add anything. If for some reason we need it, it should end in a period.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's because we have public_member_api_docs
on, so you have to either put a basically useless comment, or an override. I'll replace this with my go-to not very helpful comment for example constructors that it returns a new instance of the page, since at least that's explaining what it does rather than what it is.
flutter/packages@6bd59cd...a0f8fd8 2023-05-05 [email protected] tree fix (flutter/packages#3910) 2023-05-05 [email protected] manual roll and fix (flutter/packages#3903) 2023-05-04 [email protected] [file_selector] Add `getDirectoryPaths` (flutter/packages#3871) 2023-05-04 [email protected] [go_router_builder] fixed typo in README (flutter/packages#3835) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Exposes the new `getDirectoryPaths` API, and updates the desktop implementation package constraints to ensure that the implementations are present. This is a slightly updated recreation of flutter/plugins#6576 Fixes flutter/flutter#74323
Exposes the new
getDirectoryPaths
API, and updates the desktop implementation package constraints to ensure that the implementations are present.This is a slightly updated recreation of
flutter/plugins#6576
Fixes flutter/flutter#74323
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).