typst_flutter 1.1.1 copy "typst_flutter: ^1.1.1" to clipboard
typst_flutter: ^1.1.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.

1.1.1 #

  • Feature: Truly Zero-Configuration native setup! Android and iOS builds now automatically execute typst_flutter:setup on the fly to download native binaries. No manual commands required.
  • Fix: Fixed a severe path-parsing bug on Windows where setup.dart crashed with a PathNotFoundException while writing macOS binaries.
  • Fix: Safely fall back to cargokit compilation if auto-downloads fail or the user is strictly offline.

1.1.0 #

  • New: TypstDocumentViewer widget for efficiently displaying multi-page documents with lazy rendering.
  • New: TypstSvgView widget for crisp, scalable vector graphics rendering (SVG) at any zoom level.
  • New: Structured Error Diagnostics via TypstCompileException.diagnostics. Errors now include severity, exact messages, and hints.
  • New: Date Injection. You can now pass a DateTime into the compiler to provide the date for #datetime.today().
  • New: Support for rendering single pages directly to PNG bytes entirely in Rust (no Flutter UI thread or GPU roundtrip needed) via renderPageAsPng.

1.0.1 #

  • Fix CI/CD publishing pipeline
  • Initial stable release

1.0.0 #

  • Initial stable release.
  • Added TypstCompiler for native PDF compilation.
  • Added TypstView widget for live preview rendering.
  • Support for passing images and custom fonts via virtual files (FileSource, FontSource).
  • Zero-Rust install workflow via dart run typst_flutter:setup using pre-built binaries.
  • Full cross-platform support: Android, iOS, macOS, Windows, Linux.
0
likes
160
points
222
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Embed the Typst typesetting compiler natively in Flutter via Rust FFI. Compile Typst markup to PDF or rendered images on Android, iOS.

Repository (GitHub)
View/report issues

Topics

#pdf #typst #document #typesetting #ffi

License

Apache-2.0 (license)

Dependencies

archive, crypto, flutter, flutter_rust_bridge, flutter_svg, http, path, plugin_platform_interface

More

Packages that depend on typst_flutter

Packages that implement typst_flutter