flutter_mermaid 0.1.0
flutter_mermaid: ^0.1.0 copied to clipboard
A pure Dart/Flutter library for rendering Mermaid diagrams without WebView or external dependencies. Supports flowcharts, sequence diagrams, pie charts, Gantt charts, timelines, Kanban boards, radar c [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_mermaidThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_mermaid: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_mermaid/flutter_mermaid.dart';