/PDF_GENERATE_VIEW_SAVE

This Flutter project demonstrates the process of creating, previewing, and saving PDF documents.

Primary LanguageC++

** PDF Generator and Viewer**

Description:

This Flutter application provides a comprehensive solution for PDF generation, preview, and management. Users can:

  • Generate PDFs from HTML: Convert HTML content into PDF format.
  • Generate PDFs from Flutter widgets: Create PDFs directly from Flutter UI elements.
  • Preview PDFs from network URLs: View PDFs hosted online without downloading.
  • Preview PDFs from the device: Open and display PDFs stored locally.
  • Save PDFs to desired locations: Save generated or downloaded PDFs to any chosen directory.
  • Print PDFs: Print PDFs using connected printers.

Dependencies:

  • htmltopdfwidgets: For rendering HTML content in PDF format.
  • printing: For printing and viewing PDFs.
  • pdf: For creating PDF from Flutter UI elements.
  • file_picker: For accesing locally stored PDFs.

Usage:

  1. Clone the repository.
  2. Install dependencies using flutter pub get.
  3. Run the app using flutter run.

Contributions:

Contributions are welcome! Feel free to submit pull requests for new features, bug fixes, or improvements.