pdfrx
3.1.0, released today by espresso3389.jp
Fast, cross‑platform PDF viewer and editor widget for Flutter apps.
What it does
Provides ready‑to‑use widgets to display, edit, combine and manipulate PDF documents. Uses PDFium (or optional CoreGraphics) for rendering on Android, iOS, Windows, macOS, Linux and Web.
AI-written summary of version 3.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need interactive PDF viewing with editing features
- Your app targets multiple desktop and mobile platforms
- You require high‑performance rendering of large PDFs
Skip it when
- App size must be minimal and native binaries are undesirable
- You only need static PDF display without editing
- You cannot install a C toolchain or enable Windows Developer Mode
Strengths
- Rich feature set (view, edit, combine, image import)
- Supports all major Flutter platforms including Web
- Fast rendering via PDFium
- Optional CoreGraphics rendering to reduce app size on Apple platforms
Weaknesses
- Requires native build toolchain and C compiler
- Windows builds need Developer Mode enabled
- Large native binaries may increase app size
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 13
Install a C toolchain for native builds; enable Developer Mode on Windows; iOS/macOS require CocoaPods or Swift Package Manager for PDFium XCFramework; optional pdfrx_coregraphics package for Apple platforms.
import 'package:material_ui/material_ui.dart';
import 'package:pdfrx/pdfrx.dart';
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('Pdfrx example')),
body: PdfViewer.asset('assets/hello.pdf'),
),
);
}
}Alternatives
Packages that do the same job and could replace pdfrx.
- flutter_epub_viewer
A Flutter widget that displays EPUB books using a WebView and epub.js.
78Compare - expandable_datatable
Flutter data table with expandable rows for hidden columns.
61Compare - flutter_full_pdf_viewer_null_safe
A Flutter plugin to display PDF files on Android and iOS.
48Compare
Works with
Packages commonly used together with pdfrx: ones it builds on, ones built on it, and its own family.
- yamlpdfrx depends on itA Dart library for parsing YAML documents into Dart data structures.
- cryptopdfrx depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- webpdfrx depends on itLightweight bindings for browser APIs via JS interop
- vector_mathpdfrx depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- path_providerpdfrx depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- url_launcherpdfrx depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- rxdartpdfrx depends on itImplementation of the ReactiveX API for asynchronous programming leveraging native Dart Streams.
- synchronizedpdfrx depends on itLock mechanism to prevent concurrent access to asynchronous code.