- Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Fixes new lint warnings.
- Changes
MockPlatformInterfaceMixinto amixin classfor better compatibility with projects that have a minumum Dart SDK version of 3.0. - Updates minimum supported SDK version to Dart 3.0.
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
- Updates README to improve example and discuss
base. - Updates minimum Flutter version to 3.3.
- Updates links for the merge of flutter/plugins into flutter/packages.
- Updates minimum supported Dart version.
- Minor fixes for new analysis options.
- Adds additional tests for
PlatformInterfaceandMockPlatformInterfaceMixin. - Modifies
PlatformInterfaceto use an expando for detecting if a customer tries to implement PlatformInterface usingimplementsrather thanextends. This ensures thatverifywill continue to work as advertized after dart-lang/language#2020 is implemented.
- Updates README to demonstrate
verifyrather thanverifyToken, and to note that the test mixin applies to fakes as well as mocks. - Adds an additional test for
verifyToken.
- Fixes
verifyto work with fake objects, not just mocks.
- Introduce
verify, which prevents use ofconst Object()as instance token. - Add a comment indicating that
verifyTokenwill be deprecated in a future release.
- Update package description.
- Fix
federated flutter pluginslink in the README.md.
- Migrate to null safety.
- Fix homepage in
pubspec.yaml.
- Make the pedantic dev_dependency explicit.
- Fixed a bug that made all platform interfaces appear as mocks in release builds (flutter/flutter#46941).
- Provides
PlatformInterfacewith common mechanism for enforcing that a platform interface is not implemented withimplements. - Provides test only
MockPlatformInterfaceto enable using Mockito to mock platform interfaces.