flutter_native_badge_platform_interface 1.0.4 copy "flutter_native_badge_platform_interface: ^1.0.4" to clipboard
flutter_native_badge_platform_interface: ^1.0.4 copied to clipboard

A common platform interface for the flutter_native_badge plugin.

flutter_native_badge_platform_interface #

A common platform interface for the flutter_native_badge plugin.

This interface allows platform-specific implementations of the flutter_native_badge plugin, as well as the plugin itself, to ensure they are supporting the same interface.

Usage #

To implement a new platform-specific implementation of flutter_native_badge, extend FlutterNativeBadgePlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default FlutterNativeBadgePlatform by calling FlutterNativeBadgePlatform.instance = MyPlatformFlutterNativeBadge().

Note for maintainers #

Strongly prefer non-breaking changes (such as adding methods) to breaking changes (such as changing method signatures or removing methods).

See the Flutter Breaking changes section of the versioning guide for more information and why this is important.

0
likes
150
pub points
25%
popularity

Publisher

unverified uploader

A common platform interface for the flutter_native_badge plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_native_badge_platform_interface