universal_file_previewer 0.3.0 copy "universal_file_previewer: ^0.3.0" to clipboard
universal_file_previewer: ^0.3.0 copied to clipboard

Preview 50+ file formats (PDF, images, video, audio, code, zip, markdown, CSV, JSON and more) with zero heavy dependencies. Uses pure Dart + native platform channels.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add universal_file_previewer

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

dependencies:
  universal_file_previewer: ^0.3.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:universal_file_previewer/universal_file_previewer.dart';
1
likes
150
points
0
downloads

Publisher

verified publisheracrocoder.com

Weekly Downloads

Preview 50+ file formats (PDF, images, video, audio, code, zip, markdown, CSV, JSON and more) with zero heavy dependencies. Uses pure Dart + native platform channels.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, http, path, path_provider, video_player

More

Packages that depend on universal_file_previewer

Packages that implement universal_file_previewer