flutter_embed_unity_platform_interface 1.0.0 copy "flutter_embed_unity_platform_interface: ^1.0.0" to clipboard
flutter_embed_unity_platform_interface: ^1.0.0 copied to clipboard

A common platform interface for the flutter_embed_unity plugin.

flutter_embed_unity_platform_interface #

A common platform interface for the flutter_embed_unity plugin.

This interface allows platform-specific implementations of the flutter_embed_unity 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_embed_unity, extend FlutterEmbedUnityPlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default FlutterEmbedUnityPlatform by calling FlutterEmbedUnityPlatform.instance = FlutterEmbedUnityMyPlatform().

Note on breaking changes #

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.

1
likes
140
points
148
downloads

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the flutter_embed_unity plugin.

Homepage
Repository (GitHub)
View/report issues

Topics

#unity

Documentation

Documentation
API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_embed_unity_platform_interface