typst_flutter 1.0.1
typst_flutter: ^1.0.1 copied to clipboard
Embed the Typst typesetting compiler natively in Flutter via Rust FFI. Compile Typst markup to PDF or rendered images on Android, iOS.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add typst_flutterWith Flutter:
$ flutter pub add typst_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
typst_flutter: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:typst_flutter/typst_flutter.dart';