betto_pdf_widgets 0.1.0-dev.1 copy "betto_pdf_widgets: ^0.1.0-dev.1" to clipboard
betto_pdf_widgets: ^0.1.0-dev.1 copied to clipboard

A Flutter package wrapping the PDFium library for PDF rendering, text extraction, and annotation support.

betto_pdf_widgets #

Flutter widgets that use the betto_pdfium package for displaying PDF documents.

Features #

  • PageViewer — zoom-aware single-page renderer (fit-page, fit-width, custom zoom) with search-match overlays
  • ViewerControllerChangeNotifier for page navigation, zoom, and search state
  • TocView — scrollable table of contents
  • ThumbnailGrid — lazy-loading 2-column thumbnail grid
  • AnnotationView — annotation list (notes + highlights) with toggle
  • SearchView — search input with result list and context snippets
  • InfoView — metadata and file-info panel

A lower-level PageView widget is also exported for callers that only need a single fit-to-width page render without zoom modes or a controller.

Theming #

The widgets style themselves entirely from the ambient ThemeDataColorScheme, TextTheme, and TextSelectionThemeData — rather than a package-specific theme extension. Register a ThemeData on your MaterialApp (or Theme) as you would for any other Flutter app and the PDF widgets follow it, including dark mode.

Usage #

The example project provides a complete PDF viewer application, "Quietly", built entirely from these widgets.

See the technical specification for architecture, widget-by-widget details, and the rendering pipeline.

0
likes
160
points
36
downloads

Documentation

API reference

Publisher

verified publisherbettongia.com

Weekly Downloads

A Flutter package wrapping the PDFium library for PDF rendering, text extraction, and annotation support.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#pdfium #pdf #ffi

License

Apache-2.0 (license)

Dependencies

betto_pdfium, flutter, intl

More

Packages that depend on betto_pdf_widgets