commit | 6531740363e539e1751a97c56ad5c1a87c985be9 | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Sun Dec 19 14:41:00 2021 -0500 |
committer | GitHub <noreply@github.com> | Sun Dec 19 11:41:00 2021 -0800 |
tree | 03e5d2f1b870b7f6143d2e9d4e60bd9633eadcbc | |
parent | 29b637301dfbafe7f84c0c6166f2b5c4dd186697 [diff] |
[video_player] Remove test code from platform interface (#4589) This is a breaking change to video_player_platform_interface to remove Pigeon mocks from the public interface. These should never have been there, as tests in packages outside of the platform interface should be mocking the platform interface rather than the method channel, but the app-facing tests weren't rewritten when they should have been so they ended up published to support the legacy tests. This creates an unwanted non-dev dependency on `flutter_test`, in addition to promoting an anti-pattern. While making the breaking change, this also adopts `PlatformInterface`, removing `isMock` in favor of the standard mixin pattern provided by the base class. Part of https://github.com/flutter/flutter/issues/83562
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 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.