syncfusion-flutter-pdf-viewer

Installation
SKILL.md

Syncfusion Flutter SfPdfViewer – UI Sample Generator

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

Trigger keywords: "how to", "add pdfviewer", "code sample", "show me", "example", "snippet", "integrate", "widget", "create sample", "flutter pdfviewer".

Purpose: Scaffold a ready-to-run Flutter project with syncfusion_flutter_pdfviewer integrated and generate the requested feature code inside it — all in one pass.

Workflow:

Step 1 – Ask Clarifying Questions (once, upfront)

Before doing anything else, ask the user:

  1. Project target: Does a Flutter project already exist, or should a new one be created?
  2. File placement: Should the generated code go into an existing file (e.g., main.dart) or a new Dart file (e.g., pdf_viewer_sample.dart)?
  3. Platform: Is the app targeting mobile, desktop, or web? (Only needed to decide whether the web index.html step is required.)

Step 2 – Create a New Flutter Project (skip if project already exists)

Run in the terminal:

Related skills

More from syncfusion/pdf-viewer-sdk-skills

Installs
18
GitHub Stars
1
First Seen
Mar 26, 2026