jsaver 0.0.1 jsaver: ^0.0.1 copied to clipboard
Save Files Plugin By Just Codes Developers.
jsaver #
JSaver: is a plugin that save files in internal or external directories for android.
Features #
- Save From File.
- Save From Uint8List
- Save From Path
Usage #
To Use jsaver
Minimal SDK VERSION
minSdkVersion 19
Simple Usage #
final _jSaverPlugin = JSaver();
Future<String> getFromPath(String path)async{
final value = await _jSaverPlugin.saveFromPath(path: path);
return value;
}
Future<String> getFromData(Uint8List data, String fileName)async{
//Note: File Name Must Contain extension
final value = await _jSaverPlugin.saveFromData(data: data, name: fileName);
return value;
}
Future<String> getFromFile(File file)async{
final value = await _jSaverPlugin.saveFromFile(file: file);
return value;
}
Additional information #
Provided By Just Codes Developers "# JSaver"