commit | 25e1d87113359a767dd1985db8adacccbe4e515f | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Fri Jun 23 12:43:45 2023 -0400 |
committer | GitHub <noreply@github.com> | Fri Jun 23 16:43:45 2023 +0000 |
tree | 1c10ef3f31219b2c1c8e97b995bbae125d9153b6 | |
parent | 08425c5949edbf806a08d5c0d89507c183c7ad38 [diff] |
[file_selector] Add file group to save return value (#4222) This deprecates `getSavePath`, which returned a target path string, in favor of a new `getSaveLocation`, which returns an object containing both a path and, optionally, a selected file group. This allows clients to use the selected group when deciding what path to use when saving (see discussion in linked issue). This includes an implementation for Windows. It will also apply to Linux, and I've verified that the structure works, but it's not included here because it requires some non-trivial refactoring in the Linux implementation (we can't get the current index, only the current filter object pointer, which means we need to pass more data around between the various functions to map back to an index... and it's GObject so making internal data utility classes is fiddly.) For now Linux just always returns a null group, and we can add it later. Most of https://github.com/flutter/flutter/issues/107093
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: