glyph_path_flutter 1.0.0
glyph_path_flutter: ^1.0.0 copied to clipboard
Flutter integration for glyph_path — converts TextPathResult into a dart:ui Path for direct Canvas rendering.
Changelog #
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
1.0.0 #
Added #
TextPathResult.toUiPath()— converts aglyph_pathTextPathResultinto a Flutterdart:uiPath, extracted out ofglyph_pathitself so that package can remain pure Dart with no Flutter dependency- Examples —
example/flutter_canvas.dart(minimalCustomPainter) andexample/flutter_demo(runnable app with font selection and fill/stroke drawing modes)
Requires #
glyph_path>=2.0.0. Earlierglyph_pathreleases ship their owntoUiPath()(via adart:uiconditional export), which collides with this package's extension of the same name and fails to compile (ambiguous_extension_member_access) if both are used together.