Skip to content

This is a Flutter application that demonstrates the use of the flutter_native_html_to_pdf package to convert HTML content into a PDF file. The generated PDF file can then be shared using the share_plus package.

License

Notifications You must be signed in to change notification settings

brytamegbor/flutter_native_html_to_pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Native HTML to PDF

This is a Flutter application that demonstrates the use of the flutter_native_html_to_pdf package to convert HTML content into a PDF file. The generated PDF file can then be shared using the share_plus package.

Features

  • HTML to PDF Conversion: The application converts a predefined HTML content into a PDF file using the flutter_native_html_to_pdf package.
  • PDF Sharing: The generated PDF file can be shared using the share_plus package.

How to Use

  1. Run the application: flutter run
  2. Once the application is running, you will see a button labeled "Share PDF" on the screen.
  3. Click on the "Share PDF" button to generate the PDF from the HTML content and initiate the sharing.

Dependencies

  • flutter_native_html_to_pdf
  • path_provider
  • share_plus

Note

This application is a demonstration of the flutter_native_html_to_pdf package. The HTML content used in this application is a simple static HTML page. You can replace it with your own dynamic HTML content as needed.

About

This is a Flutter application that demonstrates the use of the flutter_native_html_to_pdf package to convert HTML content into a PDF file. The generated PDF file can then be shared using the share_plus package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 37.2%
  • CMake 30.1%
  • Dart 9.8%
  • Kotlin 9.1%
  • Swift 7.6%
  • C 3.6%
  • Other 2.6%