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

Plugin that allows you to save files to a public or shared directory such as the Downloads folder in Android and Files in iOS.

simple_file_saver #

pub package

A Flutter plugin that allows you to save files to a public or shared directory such as the Downloads folder in Android and Files in iOS.

Usage #

To use this plugin, add simple_file_saver as a dependency in your pubspec.yaml file.

Example #

final result = await SimpleFileSaver.saveFile(
    dataBytes: utf8.encode('This file is been saved to the default directory'),
    fileName: 'file_save.txt',
    mimeType: 'text/plain',
);

final result = await SimpleFileSaver.saveFileAs(
    dataBytes: utf8.encode('This file is been saved as...'),
    fileName: 'file_save_as.txt',
    mimeType: 'text/plain',
);
2
likes
0
pub points
70%
popularity

Publisher

unverified uploader

Plugin that allows you to save files to a public or shared directory such as the Downloads folder in Android and Files in iOS.

Homepage
Repository (GitHub)
View/report issues

Topics

#files #save-file #file-saver

License

unknown (LICENSE)

Dependencies

flutter, simple_file_saver_android, simple_file_saver_ios, simple_file_saver_platform_interface

More

Packages that depend on simple_file_saver