PackageTrack
Sign in Get early access

plugin_platform_interface

Reusable base class for platform interfaces of Flutter federated plugins, to help enforce best practices.

2.1.8 6.9M downloads/mo #90 most downloaded on pub.dev flutter/packages

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships fairly regularly

a new release about every 3 months

Nearly every release is documented

notes for 16 of 16 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

19 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

19 releases · Dec 2019 to Jan 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 19
  1. 2.1.8 04 Jan 2024
    Release notes
    • Fixes new lint warnings.
    Open source →
  2. 2.1.7 17 Nov 2023
    Release notes
    • Changes MockPlatformInterfaceMixin to a mixin class for better compatibility with projects that have a minumum Dart SDK version of 3.0.
    • Updates minimum supported SDK version to Dart 3.0.
    Open source →
  3. 2.1.6 30 Aug 2023
    Release notes
    • Adds pub topics to package metadata.
    • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
    Open source →
  4. 2.1.5 20 Jul 2023
    Release notes
    • Updates README to improve example and discuss base.
    • Updates minimum Flutter version to 3.3.
    Open source →
  5. 2.1.4 22 Feb 2023
    Release notes
    • Updates links for the merge of flutter/plugins into flutter/packages.
    • Updates minimum supported Dart version.
    Open source →
  6. 2.1.3 15 Sep 2022
    Release notes
    • Minor fixes for new analysis options.
    • Adds additional tests for PlatformInterface and MockPlatformInterfaceMixin.
    • Modifies PlatformInterface to use an expando for detecting if a customer tries to implement PlatformInterface using implements rather than extends. This ensures that verify will continue to work as advertized after https://github.com/dart-lang/language/issues/2020 is implemented.
    Open source →
  7. 2.1.2 08 Jan 2022
    Release notes
    • Updates README to demonstrate verify rather than verifyToken, and to note that the test mixin applies to fakes as well as mocks.
    • Adds an additional test for verifyToken.
    Open source →
  8. 2.1.1 07 Jan 2022
    Release notes
    • Fixes verify to work with fake objects, not just mocks.
    Open source →
  9. 2.1.0 06 Jan 2022
    Release notes
    • Introduce verify, which prevents use of const Object() as instance token.
    • Add a comment indicating that verifyToken will be deprecated in a future release.
    Open source →
  10. 2.0.2 30 Sep 2021
    Release notes
    • Update package description.
    Open source →
  11. 2.0.1 08 Jul 2021
    Release notes
    • Fix federated flutter plugins link in the README.md.
    Open source →
  12. 2.0.0 18 Feb 2021
    Release notes
    • Migrate to null safety.
    Open source →
  13. 1.1.0-nullsafety.2 01 Feb 2021 pre-release

    Nothing published for this version

  14. 1.1.0-nullsafety.1 05 Nov 2020 pre-release

    Nothing published for this version

  15. 1.1.0-nullsafety 28 Oct 2020 pre-release

    Nothing published for this version

  16. 1.0.3 29 Sep 2020
    Release notes
    • Fix homepage in pubspec.yaml.
    Open source →
  17. 1.0.2 21 Feb 2020
    Release notes
    • Make the pedantic dev_dependency explicit.
    Open source →
  18. 1.0.1 13 Dec 2019
    Release notes
    • Fixed a bug that made all platform interfaces appear as mocks in release builds (https://github.com/flutter/flutter/issues/46941).
    Open source →
  19. 1.0.0 11 Dec 2019
    Release notes
    • Provides PlatformInterface with common mechanism for enforcing that a platform interface is not implemented with implements.
    • Provides test only MockPlatformInterface to enable using Mockito to mock platform interfaces.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive