commit | 77e841d5c88178f35428be0c3d274d0f05301c6d | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Fri Mar 04 11:01:52 2022 -0500 |
committer | GitHub <noreply@github.com> | Fri Mar 04 08:01:52 2022 -0800 |
tree | bc742ecb9fc6213c9eefe70a913c013110664235 | |
parent | bed9aa79ca1050bbf6e152b49ab62c0194d434ac [diff] |
[file_selector] Add macOS support (#4381) Brings file_selector_macos into flutter/plugins from FDE, with the following changes: - Refactored slightly to allow for unit tests of almost all of the native code - Added native unit test coverage - Translated to Swift, to follow repo conventions for macOS plugins - Added an in-package example (almost an exact duplicate of the app-facing version, but written against the platform interface, as is our current practice) - Moved to an in-package method channel. As part of that, moved the flattening of type groups from Swift to Dart. Does not currently include native UI tests to allow for end-to-end testing (since Flutter integration tests can't be used). They should be added later (they are currently blocked on https://github.com/flutter/flutter/issues/90673), but the unit tests give substantial coverage, making it substantially better to move the plugin now to get those tests running. macOS portion of https://github.com/flutter/flutter/issues/70221
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins 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 “plugin”.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready, you can publish it to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.