file_previewer 0.2.0 copy "file_previewer: ^0.2.0" to clipboard
file_previewer: ^0.2.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.2.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';
43
likes
160
points
577
downloads

Publisher

verified publisherdutchcodingcompany.com

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, path, pdfx

More

Packages that depend on file_previewer