morphnext 0.7.0
morphnext: ^0.7.0 copied to clipboard
Interruptible, spring-driven vector icon morphing for Flutter without per-pair animation assets.
Changelog #
0.7.0 #
- Add
precacheMorph, including optional reverse-pair preparation using the widgets' existing bounded caches. - Add
onFallbackandMorphFallbackDetailsto both widgets for per-request diagnostics in debug and release, with stale-request and disposal guards. - Add an experimental glyph outline API, so packages can morph more than
icons without importing
lib/src.MorphFontreads glyphs from TrueType or CFF font bytes in ems about their pen position and baseline.MorphOutline.placedandMorphOutline.combinelay glyphs out as one outline, andMorphOutlinePlanmorphs one outline into another. Thanks to Drei Guintu for the first version. - Prepare morphs faster: precompute contour metrics and pair costs during assignment, and skip assignment work when each role has exactly one contour.
- Add geometry microbenchmarks and a standalone example performance harness.
0.6.1 #
- Update the web showcase to Lucide 3.1.17.
- Generate its searchable icon catalog in CI and deployment workflows for reliable icon package updates.
- Keep the pub.dev package compact by shipping the focused example without the full web showcase sources.
0.6.0 #
- Add configurable application-wide morph cache limits, public cache statistics, clearing, disabling, and resetting.
0.5.0 #
- Add controlled
MorphIconand interruptibleAnimatedMorphIconwidgets. - Add
AnimatedMorphIcon.onEnd,MorphSpringspresets, and custom FlutterSpringDescriptionsupport. - Resolve bundled icon fonts automatically from Flutter's font manifest.
- Support TrueType, variable TrueType, and CFF1 icon outlines.
- Follow Flutter
Iconstyling, layout, RTL, semantics, and reduced-motion conventions. - Keep unsupported or unavailable fonts usable through native-icon fallback.
- Bound geometry caches for long-running applications.
- Require Dart 3.9 or newer while retaining Flutter 3.32 as the minimum.