file_previewer 0.1.0 copy "file_previewer: ^0.1.0" to clipboard
file_previewer: ^0.1.0 copied to clipboard

Generate a thumbnail for a file based on the file extension. Uses the native files previewer on iOS.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add file_previewer

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  file_previewer: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:file_previewer/file_previewer.dart';
34
likes
140
pub points
88%
popularity

Publisher

verified publisherdutchcodingcompany.com

Generate a thumbnail for a file based on the file extension. Uses the native files previewer on iOS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, path, pdfx

More

Packages that depend on file_previewer