qnox_pdf_text 0.1.1 copy "qnox_pdf_text: ^0.1.1" to clipboard
qnox_pdf_text: ^0.1.1 copied to clipboard

Fast text extraction from PDFs for Flutter (Android via pdfbox-android, iOS via PDFKit). Also supports URLs (download then parse).

qnox_pdf_text #

A Flutter plugin for extracting text from PDF documents on Android (using pdfbox-android) and iOS (using PDFKit).
Supports both local PDFs and online PDFs via a simple API.


✨ Features #

  • Extract all text from a PDF
  • Extract text from a specific page
  • Get total page count
  • Works with local file paths and remote URLs (HTTP/HTTPS)

📦 Installation #

Add the dependency to your pubspec.yaml:

dependencies:
  qnox_pdf_text: ^0.1.0

Then run: #

    flutter pub get

🚀 Usage #

    import 'package:qnox_pdf_text/qnox_pdf_text.dart';

    final pdf = QnoxPdfText();

    // From local file
    final pages = await pdf.pageCount('/path/to/file.pdf');
    final pageText = await pdf.extractPageText('/path/to/file.pdf', 0);

    // From online URL
    final urlPages = await pdf.pageCountFromUrl('https://example.com/sample.pdf');
    final allText = await pdf.extractTextFromUrl('https://example.com/sample.pdf');

📱 Platform Notes #

  • Android • Requires mavenCentral() in Gradle • Uses pdfbox-android internally

  • iOS • Minimum iOS 13.0 • Uses native PDFKit

📄 License #

MIT License. See LICENSE for details.

2
likes
160
points
18
downloads

Publisher

verified publisherqnox.africa

Weekly Downloads

Fast text extraction from PDFs for Flutter (Android via pdfbox-android, iOS via PDFKit). Also supports URLs (download then parse).

Repository (GitHub)
View/report issues

Topics

#pdf #text-extraction #plugin #flutter-plugin

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on qnox_pdf_text

Packages that implement qnox_pdf_text