MCPInstall

syncfusion-flutter-pdf

Create and manipulate PDF documents using Syncfusion Flutter PDF library. Supports two modes — generate Dart code for the user's Flutter project or provide code snippets. Use when the user mentions PDF creation, drawing, tables, images, text, annotations, bookmarks, encryption, or Syncfusion Flutter PDF.

Installs
92
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-flutter-pdf
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-flutter-pdf automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

PDF Document Processing Using Syncfusion Flutter PDF Library

Create, edit, and save PDF documents (.pdf) using the Syncfusion Flutter PDF library. This skill supports generating Dart code snippets for Flutter projects targeting mobile, web, and desktop platforms.


Generate Dart Code for the User's Flutter Project (default)

Trigger keywords: "show me how", "how to", "how can I", "how do I", "provide code", "provide an example", "give an example", "demonstrate", "code snippet", "sample code", "example", "sample", "give me", "show me", "main.dart", "example code", "generate code for", "codesnippet".

Workflow:

Step 1 — Detect the Platform and Suggest the Correct Package

  • Inspect the workspace project files (pubspec.yaml, main.dart, etc.) to identify the Flutter platform target (mobile, web, desktop).
  • Tell the user to add syncfusion_flutter_pdf to their pubspec.yaml before generating any code.

Step 2 — Generate Code from Reference Files Only

Do NOT invent, guess, or suggest any API, class, method, or property not explicitly present in the reference files.

  • Read the relevant references/*.md file(s) for the requested feature
  • Build Dart code strictly from the APIs and snippets found in those files
  • Use the correct save/launch pattern for the target platform:
    • Mobile → getApplicationSupportDirectory() + OpenFile.open()
    • Desktop → getApplicationSupportDirectory() + OpenFile.open()
    • Web → base64 + JavaScript download or web package approach
  • Do not create or run any standalone Dart script

Code References

All snippets are in the references/ folder:

FileContents
document-structure.mdCreate/load document, page settings, orientation, margins, sections, save to file/stream, incremental update, compression, open encrypted PDF, dispose
pages.mdAdd/insert/remove/rotate pages, get page count, set margins, sections with different page settings, get client size
flow-layout.mdChain elements using PdfLayoutResult, paginate text across pages, PdfLayoutFormat options
text.mdDraw text (drawString, PdfTextElement), standard/TrueType/CJK fonts, RTL text, multicolumn text, pens and brushes
images.mdInsert JPEG/PNG images (PdfBitmap), apply transparency and rotation, insert from web URL
shapes.mdDraw polygon, line, curve, path, rectangle, pie, arc, bezier, ellipse
tables.mdCreate PdfGrid, add columns/headers/rows, cell/row/column customization, built-in styles, pagination, multiple tables
lists.mdOrdered lists (PdfOrderedList), unordered lists (PdfUnorderedList), sub-lists
header-footer.mdAdd headers and footers (PdfPageTemplateElement), automatic fields (page number, page count, date/time), composite fields
bookmarks.mdAdd/insert/remove/modify bookmarks (PdfBookmark), child bookmarks, destination, color, text style
annotations.mdRectangle, ellipse, line, polygon, URI, document link, text web link, text markup, popup annotations; flatten, modify, remove annotations; import/export FDF/XFDF/JSON
hyperlinks.mdWeb navigation links (PdfTextWebLink), URI annotations, internal document navigation (PdfDocumentLinkAnnotation), destination modes
watermarks.mdText and image watermarks with transparency and rotation, apply to all pages via PdfPageTemplateElement stamp
pdf-templates.mdCreate PdfTemplate, draw templates on pages, extract page as template using createTemplate, stamp overlays with PdfPageTemplateElement
digital-signature.mdPdfSignatureField, PdfCertificate, sign new/existing PDF, signature appearance, external signer, multiple signatures, timestamp, LTV
text-extraction.mdExtract text (full/page/range), extract text lines/words/characters with bounds and font info, find text with MatchedItem
pdf-conformance.mdPDF/A-1b, PDF/A-2b, PDF/A-3b conformance levels, embedded fonts requirement, attachment relationships for PDF/A-3b
attachments.mdAdd/remove file attachments (PdfAttachment), attach from base64, extract and save to disk, PDF/A-3b attachment metadata
layers.mdAdd/toggle/remove layers (PdfPageLayer), nested layers (PdfLayer), visibility control, flatten layers
forms.mdAcroForm fields: text box, combo box, radio button, list box, check box, signature, button; fill/modify/flatten/remove fields; import/export FDF/XFDF/JSON/XML
encryption.mdRC4 and AES encryption, user/owner passwords, permissions (print, copy, edit), protect existing PDF, change/remove password

Rules

  • Output files go in ./output/ directory
  • Temp .dart scripts must be created inside {skill-root}/flutter/pdf/scripts/ — never in the workspace root or customer scripts/ folder
  • Never leave temp .dart files after execution
  • Always call document.dispose() after saving
  • All units in PDF are in points (not pixels)
  • Use PdfLayoutResult to chain elements and avoid content overlap

Prerequisites

  • Flutter SDK installed
  • Add to pubspec.yaml:
    dependencies:
      syncfusion_flutter_pdf: ^33.1.44
    
  • Use the latest compatible package version from pub.dev or Syncfusion documentation.
  • Run: flutter pub get
  • Import in Dart code:
    import 'package:syncfusion_flutter_pdf/pdf.dart';
    

FAQ

What does the syncfusion-flutter-pdf skill do?

Create and manipulate PDF documents using Syncfusion Flutter PDF library. Supports two modes — generate Dart code for the user's Flutter project or provide code snippets. Use when the user mentions PDF creation, drawing, tables, images, text, annotations, bookmarks, encryption, or Syncfusion Flutter PDF.

How do I install syncfusion-flutter-pdf?

Run npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-flutter-pdf in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-flutter-pdf/ (personal) or .claude/skills/syncfusion-flutter-pdf/ (project).

Which AI agents can use syncfusion-flutter-pdf?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-flutter-pdf safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-flutter-pdf?

It is published by syncfusion in syncfusion/document-sdk-skills. It has 92 recorded installs.

More from syncfusion/document-sdk-skills

View all →

syncfusion-dotnet-word

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs354 installs

syncfusion-dotnet-powerpoint

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs148 installs

syncfusion-dotnet-pdf

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs142 installs

syncfusion-dotnet-excel

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs134 installs

syncfusion-java-word

syncfusion/document-sdk-skills

Create, edit, and convert Word documents (.docx) using Syncfusion DocIO. Supports to generate java code for the user's project. Use when the user mentions docx, Word processing, document generation, Syncfusion DocIO, or syncfusion java word.

Docs & Writing111 installs

syncfusion-javascript-pdf

syncfusion/document-sdk-skills

Provides comprehensive guidance for implementing the Syncfusion JavaScript PDF library (@syncfusion/ej2-pdf) to create and manipulate PDF documents programmatically across TypeScript, JavaScript, Angular, React, Vue, and ASP.NET platforms. Use this when working with PDF creation, tables, lists, form filling, annotations, encryption, document merging/splitting, text or image extraction, or digital signatures.

Docs & Writing100 installs

Popular mobile skills

View category →

design-mobile-apps

designed-by-ai/skills

Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.

Mobile1.1M installs

ios-design

uizze.sh

Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.

Mobile416.5K installs

vercel-react-native-skills

vercel-labs/agent-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

OfficialMobile256.7K installs

animate-expo

emilkowalski/skills

Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.

Mobile140.1K installs

xcode-project-setup

firebase/agent-skills

Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).

OfficialMobile131.2K installs

firebase-remote-config-basics

firebase/agent-skills

Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.

OfficialMobile121.7K installs