Package access
Use Flutter 3.47 or later with Dart 3.13 or later. See all packages to choose what you need.
Core
For a Flutter app:
sh
flutter pub add vyuh_diagram_flutterFor a Dart service or agent:
sh
dart pub add vyuh_diagram_coreCore packages come from pub.dev. No token is needed.
Extensions
- Copy your package token from your Diagram account.
- Register it and enter the token when prompted:
sh
dart pub token add https://pub.vyuh.tech- Add the extension to your
pubspec.yaml. For example:
yaml
dependencies:
vyuh_diagram_extension_editor:
hosted: https://pub.vyuh.tech
version: ^3.9.0- Fetch the packages:
sh
flutter pub getUse dart pub get for a Dart project. Keep the token out of your source code.
Continue with Getting started or adding extensions.