office_viewer 0.0.10
office_viewer: ^0.0.10 copied to clipboard
Tile-based Flutter viewer for PDF and Office docs with host chrome, fit-width pan/zoom, and soft-fail on corrupt files.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add office_viewerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
office_viewer: ^0.0.10Alternatively, 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:office_viewer/office_viewer.dart';