typstrx 0.1.1
typstrx: ^0.1.1 copied to clipboard
Typst document viewer for Flutter, backed by the native Rust Typst compiler, with high-resolution viewport rendering, text selection, and link navigation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add typstrxThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
typstrx: ^0.1.1Alternatively, 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:typstrx/typstrx.dart';