typst_flutter 1.1.1
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:setupon the fly to download native binaries. No manual commands required. - Fix: Fixed a severe path-parsing bug on Windows where
setup.dartcrashed with aPathNotFoundExceptionwhile writing macOS binaries. - Fix: Safely fall back to
cargokitcompilation if auto-downloads fail or the user is strictly offline.
1.1.0 #
- New:
TypstDocumentViewerwidget for efficiently displaying multi-page documents with lazy rendering. - New:
TypstSvgViewwidget 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
DateTimeinto 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
TypstCompilerfor native PDF compilation. - Added
TypstViewwidget 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:setupusing pre-built binaries. - Full cross-platform support: Android, iOS, macOS, Windows, Linux.