Add a plugin_platform_interface package (#2348)

Adds a package with a common base class for platform interface.

The PlatformInterface class provides common functionality for enforcing that platform implementations extend the platform interface with extends rather than implement it with implements.

This is based on the existing code from the url_laucher_platform_interface, and the improvements proposed in #2326
8 files changed
tree: dba475db9cbb6aa51056de10a3de5c98a781bfd2
  1. .ci/
  2. .github/
  3. .opensource/
  4. packages/
  5. script/
  6. .cirrus.yml
  7. .gitattributes
  8. .gitignore
  9. analysis_options.yaml
  10. AUTHORS
  11. CODEOWNERS
  12. CONTRIBUTING.md
  13. FlutterFire.md
  14. LICENSE
  15. pubspec.yaml
  16. README.md
README.md

Flutter plugins

Build Status

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.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo.

Contributing

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 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.

Plugins

These are the available plugins in this repository.

PluginPub
android_alarm_managerpub package
android_intentpub package
batterypub package
camerapub package
connectivitypub package
device_infopub package
google_maps_flutterpub package
google_sign_inpub package
image_pickerpub package
in_app_purchasepub package
local_authpub package
package_infopub package
path_providerpub package
quick_actionspub package
sensorspub package
sharepub package
shared_preferencespub package
url_launcherpub package
video_playerpub package
webview_flutterpub package