universal_file_handler 0.1.0
universal_file_handler: ^0.1.0 copied to clipboard
Universal Flutter file handling with memory cache, disk cache, downloads, asset loading, viewers, and sharing.
Universal File Handler #
A Flutter package to open, cache, and share any file type.
Features #
- Open images, PDFs, Word, Excel
- Smart caching
- File type detection
- Share files
Usage #
await UniversalFileHandler.open(context,url);.
ElevatedButton(
onPressed: () {
UniversalFileHandler.open(fileUrl, context: context);
},
child: Text("Open File"),
);