simple_file_saver_platform_interface 2.0.0
simple_file_saver_platform_interface: ^2.0.0 copied to clipboard
A common platform interface for the simple_file_saver plugin.
simple_file_saver_platform_interface #
A common platform interface for the simple_file_saver
plugin.
This interface allows platform-specific implementations of the simple_file_saver
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
You may read the Flutter documentation and watch the Flutter channel for more information about the federated plugin concept.
Usage #
To implement a new platform-specific implementation of simple_file_saver
, extend
SimpleFileSaverPlatform
with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
SimpleFileSaverPlatform
by calling
SimpleFileSaverPlatform.instance = SimpleFileSaverX()
.