verovio_flutter 0.3.2
verovio_flutter: ^0.3.2 copied to clipboard
Flutter FFI plugin for Verovio music notation rendering. Supports Android, iOS, and Web (WASM).
0.3.2 #
- Android ABI coverage — Added a prebuilt native library for 32-bit Android ARM (
armeabi-v7a) while keepingarm64-v8aandx86_64support. - Build tooling — Updated
tool/build_android_so.shand release artifact validation so Android builds produce all three supported Android ABIs by default. - Documentation — Refreshed platform and per-ABI size notes in English and Chinese docs.
0.3.1 #
- WeChat mini-app support — Added inline WASM backend for the WeChat mini-program environment (detects the
WXWebAssemblyglobal or aforceInlineconfig); the factory automatically falls back from Web Worker to inline mode when no Worker is available. - Dart version compatibility — Fixed
js_interopAPI compatibility between Dart 3.4 and 3.12 (isTruthydeprecation) via a new_jsTruthy()helper. - Prebuilt mini-app assets — Ship the slimmed-down WeChat mini-app WASM glue (
verovio-weapp.js) and brotli-compressedverovio.wasm.brso no extra build step is needed. - Dependency adjustment — Relaxed the
collectionconstraint to^1.18.0for broader SDK compatibility.
0.3.0 #
- NEW: Full Web (WASM) support —
verovio_flutternow works on Flutter Web via WebAssembly, with identical public API across Android, iOS, and Web. - Web Worker integration — Verovio runs in a Web Worker (non-blocking) via
web/verovio_worker.dart, compiled from Dart to JavaScript. - WASM toolkit — Bundles official Verovio 6.2.0 WASM runtime (functionally equivalent to native 6.2.1).
- All 38 API methods on Web — Rendering, MIDI, time-map, hit_map, ZIP/MXL load, edit operations, page caching, all work identically to mobile.
- Build scripts — New
tool/build_web.shautomates Web Worker compilation and Flutter Web build; see README.md for Web support details. - Documentation — Added Web support section to README.md and README_CN.md with build instructions, version alignment, and known limitations.
- Cross-platform hit_map parity — Web reuses the same pure-Dart hit_map parser core as native (no separate minimal parser);
renderPageWithHitMap()/parseHitMap()produce identical results on mobile and Web.
0.2.1 #
- Fixed
ShapeBBoxComputerso zero-width or zero-height but still meaningful line shapes are preserved during bbox computation. - Updated the package metadata and release notes for the 0.2.1 release.
0.2.0 #
- Added first-class HitMap APIs to
VerovioAsyncService:renderPageWithHitMap()andparseHitMap(), so callers can fetch SVG and interaction metadata in one isolate round-trip. - Added
snapToNearest()plus R-tree nearest-neighbor search, enabling "click anywhere, snap to the closest note/element" interactions. - Expanded
VerovioPageCacheto cache both SVG and parsed HitMap data, reducing repeat render/parse overhead. - Made asset extraction more robust by falling back to the local workspace
assets/verovio_datadirectory when running without a Flutter plugin host. - Exported the HitMap data models and hit-test helpers from the top-level package API for easier consumption.
- Updated documentation and release notes for the 0.2.0 release.
0.1.6 #
- Fix: Replaced the deprecated
AssetManifest.jsonlookup inVerovioResourceManagerwithAssetManifest.loadFromAssetBundle, restoring asset extraction on Flutter versions that no longer emit the legacy JSON manifest. - Lowered the minimum SDK constraints to
Dart >=3.0.0/Flutter >=3.10.0to broaden compatibility. - Downgraded the
flutter_lintsdev dependency to^3.0.0to align with the new lower SDK bound. - Bumped the package version to
0.1.6and refreshed the install snippets in the docs.
0.1.4 #
- Updated the install examples to
verovio_flutter: ^0.1.4. - Updated the documentation to reflect the larger iOS
.xcframeworkpackaging flow.
0.1.3 #
- Synchronized the package metadata and README version references for the next pub.dev release.
0.1.2 #
- Unified the public API around
VerovioAsyncServiceand updated the English/Chinese docs accordingly. - Added cache and troubleshooting guidance for package users.
0.1.1 #
- Verovio submodule upgraded to
version-6.2.1(8d42439dc9231f6c87779287b542febcb3d609b3). - Prepared the package for pub.dev publication with bundled Android/iOS native artifacts and assets.
0.1.0 #
- First public release of
verovio_flutter. - Supported platforms: Android API 21+ (
arm64-v8a/x86_64) and iOS 13.0+ (arm64device /arm64+x86_64simulator). - Verovio submodule:
version-2.7.1-10372-g8100cb396(8100cb39604d40102a9c2ce75719136f3fb52a77).