jsaver 0.0.5 copy "jsaver: ^0.0.5" to clipboard
jsaver: ^0.0.5 copied to clipboard

outdated

Save Files Plugin By Just Codes Developers, JSaver is a plugin that save files in internal or external directories for Android , Windows and Web.

jsaver #

JSaver: is a plugin that save files in internal or external directories for android , web and Windows.

Features #

  • Save From File.
  • Save From Uint8List
  • Save From Path

Usage #

To Use jsaver

#Android Minimal SDK VERSION

minSdkVersion 19

#Web The Only Method Works For Web.


final _jSaverPlugin = JSaver();

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;
}

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

6
likes
150
pub points
59%
popularity

Publisher

verified publisherjucodes.com

Save Files Plugin By Just Codes Developers, JSaver is a plugin that save files in internal or external directories for Android , Windows and Web.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ffi, flutter, flutter_web_plugins, path, plugin_platform_interface

More

Packages that depend on jsaver