rich_clipboard_platform_interface 0.0.1 copy "rich_clipboard_platform_interface: ^0.0.1" to clipboard
rich_clipboard_platform_interface: ^0.0.1 copied to clipboard

unlistedoutdated

A common platform interface for the rich_clipboard plugin.

rich_clipboard_platform_interface #

A common platform interface for the rich_clipboard plugin.

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

Usage #

To implement a new platform-specific implementation of rich_clipboard, extend RichClipboardPlatform2 with an implementation that performs the platform-specific behavior. Within your class, be sure to implement the static function registerWith to register the plugin. See the implementation in rich_clipboard_windows for an example.

If you're platform implementation is entirely in native code that will be called over a platform channel, you can use the default MethodChannelRichClipboard to register the method channel. See the implementation in rich_clipboard_macos for an example.

0
likes
140
points
3.62k
downloads

Publisher

verified publisherbringingfire.com

Weekly Downloads

A common platform interface for the rich_clipboard plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on rich_clipboard_platform_interface