v2.2.0
dart_pdf_reader
PDF 파일을 파싱하기 위한 소형 순수 다트 라이브러리입니다. 모든 PDF 구조를 읽는 것을 지원합니다
31좋아요 4.4만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
순수 Dart로 작성된 PDF 리더 라이브러리
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Version codecovOpenSSF Scorecard
'Simple' PDF reader package. Does not do a lot of interpretation of the data that is being read, but it does provide a way to read the data from a PDF file
RandomAccessStream from either bytes ByteStream or file FileStreamPDFParser using the stream from step 1PDFParser from step 2 await parser.parse()final stream = ByteStream(File(inputFile).readAsBytesSync());
final doc = await PDFParser(stream).parse();
final catalog = await doc.catalog;
final pages = await catalog.getPages();
final outlines = await catalog.getOutlines();
final firstPage = pages.getPageAtIndex(0);