Skip to content

Maxwell-Yang-PDFTron/flutter-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter - Web & Mobile Sample

This repo is specifically designed for any users interested in applying PDFTron SDK to Flutter in both web and mobile.

Initial setup

Before you begin, make sure your development environment has setup based on the official documentation: install and building a web application with Flutter.

Steps

Web

Download and unzip the WebViewer package, then place it in the root folder.

Run (install Google Chrome if you have not):

flutter run -d chrome

Android

Run to check if you have a usable Android device:

flutter devices

If none are available, check this site for further instructions.

Then run (replace ... with your device id):

flutter run -d ...

iOS

Run to check if you have a usable iOS device:

flutter devices

If none are available, check this site for further instructions.

Then run (replace ... with your device id):

flutter run -d ...

APIs

web

See WebViewer API documentation.

mobile

See Flutter API documentation.

Contributing

See contributing.

License

See license.

About

A flutter demo with PDFTron SDK on both web and mobile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published