read_pdf_text 0.2.2 read_pdf_text: ^0.2.2 copied to clipboard
This is a plugin that parses string out of pdf documents. It uses apache PDFbox and PDFKit parse the pdf document. There is only three functions so it is simple to use.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add read_pdf_text
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
read_pdf_text: ^0.2.2
Alternatively, 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:read_pdf_text/read_pdf_text.dart';