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

This package is used to cache files, can save files individually and in folders.

Save To Cache #

This package is used to cache files, can save files individually and in folders.

Getting started #

Depend on it #

dependencies:
  save_to_cache: ^1.0.0

Usage #

Single file save #

import 'package:save_to_cache/save_to_cache.dart';
...
File fileSelect = File('path/to/file/select.type');
String? name = 'newName';
File result = await SaveToCache.saveFile(file: fileSelect, name: name);
...

Save multiple files #

import 'package:save_to_cache/save_to_cache.dart';
...
List<File> files = [File('path/to/file/select1.type')];
List<String>? names = ['newName1'];
var result = await SaveToCache.saveFiles(files: files, names: names);
...
1
likes
130
pub points
0%
popularity

Publisher

verified publishersondv.dev

This package is used to cache files, can save files individually and in folders.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on save_to_cache