Flutter

Feature-riched Flutter PDF SDK

With ComPDFKit Flutter-based PDF SDK, elevate your Android and iOS apps to ensure seamless and efficient viewing, editing, annotating, converting, signing, redacting, and OCR PDF documents.

Accelerate Your Mobile Apps
with ComPDFKit Flutter SDK

Operating Systems
Android 5.0+ (API Level 21)
iOS 11+
Mobile Framework
A cross-platform framework for your Android and iOS Apps ensures that users can view and edit PDF documents seamlessly and efficiently
Development Environment
The latest stable version of Flutter
The latest stable version of Android Studio
The Android NDK
An Android Virtual Device or a hardware device
The latest stable version of Xcode
The latest stable version of CocoaPods
Technical Advantages
Feature-rich, high-performance, and time-tested PDF features
Cross-platform frameworks for your Android and iOS apps
Fast to integrate with few lines of code
Great UI extensibility
Independent Intellectual Property Rights
Comply with PDF specifications

Build Flutter Apps with ComPDFKit: Default or Custom UI

Flutter
Explore our Excellent Demo
Edit Text
Edit Image
Properties
Undo
Redo

Powerful Flutter PDF Libraries Designed for Developers

ComPDFKit Flutter PDF SDK enables developers to view, edit, and annotate PDFs with a few steps, helping shorten the development cycle and time of your project.

Dart
1
              import 'dart:io';
            
2
              
3
              import 'package:compdfkit_flutter/compdfkit.dart';
            
4
              import 'package:flutter/material.dart';
            
5
              
6
              const String DOCUMENT_PATH = 'pdfs/PDF_Document.pdf';
            
7
              
8
              void main() { 
            
9
                runApp(const MyApp());
            
10
              }
            
11
              
12
              class MyApp extends StatefulWidget {
            
13
                const MyApp({super.key});
            
14
              
15
                @override
            
16
                State<MyApp> createState() => _MyAppState();
            
17
              }
            
18
              class _MyAppState extends State<MyApp> {
            
19
                @override
            
20
                void initState() {
            
21
                  super.initState();
            
22
                  _init();
            
23
                }
            
24
              
25
                void _init() async {
            
26
                  ComPDFKit.init('your license key', 'your license secret');
            
27
                }
            
28
              
29
                @override
            
30
                Widget build(BuildContext context) {
            
31
                  return MaterialApp(
            
32
                    home: Scaffold(
            
33
                      body: SafeArea(
            
34
                        child: Center(
            
35
                          child: ElevatedButton(
            
36
                            onPressed: () async {
            
37
                              showDocument(context);
            
38
                            },
            
39
                            child: const Text(
            
40
                              'Open Document',
            
41
                              style: TextStyle(color: Colors.white),
            
42
                            )),
            
43
                         ))),
            
44
                  );
            
45
                }
            
46
              
47
                void showDocument(BuildContext context) async {
            
48
                  final bytes = await DefaultAssetBundle.of(context).load(DOCUMENT_PATH);
            
49
                  final list = bytes.buffer.asUint8List();
            
50
                  final tempDir = await ComPDFKit.getTemporaryDirectory();
            
51
                  final tempDocumentPath = '${tempDir.path}/$DOCUMENT_PATH';
            
52
                  final file = await File(tempDocumentPath).create(recursive: true);
            
53
                  file.writeAsBytesSync(list);
            
54
                  ComPDFKit.openDocument(tempDocumentPath);
            
55
                }
            
56
              }
            

Flutter PDF Viewer

ComPDFKit PDF viewer library for Flutter offers flexible PDF viewing within your app. It features an intuitive interface for easy document navigation and gives users a seamless experience with page display modes, PDF navigation, display themes, zooming, text search, text reflow, etc.

Flutter PDF Viewer

Flutter PDF Annotation SDK

Incorporate the ability to add, edit, import, export, and flatten annotations PDF files in your Flutter apps. This powerful annotation library for Flutter allows your users to collaborate by kinds of annotation types like notes, links, free text, shapes, markups, stamps, Ink (pencil), popup, sound, and more.

Flutter PDF Annotation SDK

Flutter Signature SDK

Allow your users to create and add digital signatures and electronic signatures to PDFs directly from your app. This powerful feature supports custom signature styles, saves commonly used signatures for future use, and ensures the authenticity and integrity of documents.

Flutter Signature SDK

Flutter Document Editor SDK

ComPFKit Flutter document editor library provides complete document editing capabilities, allowing your users to edit documents right within your app. With this SDK, users can add, split, merge, extract, rearrange, remove, rotate, and copy pages.

Flutter Document Editor SDK

I googled and reviewed the information on ComPDFKit's official site, their Flutter form package is a perfect match for our invoice management program.

Ahmad Kamel

IT Support Specialist, Insurance

Free Trial ComPDFKit Flutter PDF SDK Now!

Get ComPDFKit with a 30-day trial, running it into your project within minutes and having a great experience!
Get Started