flutter_embed_unity_platform_interface 0.0.2-beta copy "flutter_embed_unity_platform_interface: ^0.0.2-beta" to clipboard
flutter_embed_unity_platform_interface: ^0.0.2-beta 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
0
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

Funding

Consider supporting this project:

www.buymeacoffee.com

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_embed_unity_platform_interface