The simple_file_saver
plugin is built with the Flutter's federated architecture.
You may read the Flutter documentation and watch the Flutter channel for more information about the federated plugin concept.
The plugin is separated into the following packages:
simple_file_saver
: the app facing package. This is the package users depend on to use the plugin in their project.simple_file_saver_android
: this package contains the endorsed Android implementation of thesimple_file_saver_platform_interface
and adds Android support to thesimple_file_saver
app facing package.simple_file_saver_ios
: this package contains the endorsed iOS implementations of thesimple_file_saver_platform_interface
and adds iOS support to thesimple_file_saver
app facing package.simple_file_saver_platform_interface
: this package declares the interface which all platform packages must implement to support the app-facing package.
Run the publish command in dry-run mode to see if everything passes analysis:
flutter pub publish --dry-run
Then publishing to pub.dev, but be sure that you are ready because publishing is forever:
flutter pub publish