betto_pdf_widgets

Note
Some links won’t work in this site - please consult the project repository for the full documentation set.

1 betto_pdf_widgets

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

1.1 Features

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.

1.2 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.

1.3 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.