Skip to content
pubscout

flutter_mermaid

0.1.0, released 9 months ago by an unverified publisher

Pure Dart library to render Mermaid diagrams as Flutter widgets without WebView.

WASM-ready
$ flutter pub add flutter_mermaid
Source repository

What it does

It parses Mermaid syntax and renders flowcharts, sequence diagrams, charts, and other visualizations directly in Flutter. The widget adapts to screen size and supports themes and pan/zoom interactions.

AI-written summary of version 0.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display Mermaid diagrams in a Flutter app without relying on a WebView or external JS engine.
  • You want a cross‑platform solution that works on Android, iOS, web, and desktop.
  • You prefer a single widget that handles many diagram types (flowchart, sequence, chart, etc.).

Skip it when

  • You require advanced editing or real‑time collaboration features not provided by Mermaid.
  • You need very large or complex diagrams that may strain Flutter’s rendering performance.
  • You are already using a dedicated charting library that covers your specific chart types and need more customization.

Setup

Kind
Flutter widgets
Code generation
No
Direct dependencies
0

Alternatives

Packages that do the same job and could replace flutter_mermaid.

  • k_chart

    A Flutter K-line and depth chart widget with drag, scale, and technical indicators.

  • fl_chart

    A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.

  • graphic

    A grammar of data visualization and Flutter charting library.

  • awesome_circular_chart

    Animated radial and pie charts for Flutter