hindsight_flutter_svg 0.9.3 copy "hindsight_flutter_svg: ^0.9.3" to clipboard
hindsight_flutter_svg: ^0.9.3 copied to clipboard

Optional flutter_svg integration for the Hindsight Flutter session replay SDK.

Changelog #

0.9.3 #

  • Performance: resolving an SVG asset's bytes or its colorFilter color no longer FORCES a layer capture. A freshly-appearing screen resolves many icons across successive frames, and a forced capture per icon landed a burst of O(tree) walks right as the screen first appeared (the "slight hitch on first open"). These now mark layer activity normally, so the recorder coalesces them into its cadence and defers them past an in-flight route/overlay transition.

0.9.2 #

  • Fix: SVG icons recolored with a colorFilter (e.g. SvgPicture.asset(colorFilter: ColorFilter.mode(color, srcIn))) lost their color in RELEASE builds, where dart:ui's ColorFilter/Color toString() is stripped to Instance of '...' — the previous string-parsing color extraction silently returned null, so every tinted icon rendered with the default color. The filter's color is now recovered by rendering it to a 1x1 pixel and reading it back (identical in debug, profile and release). Input-dependent filters (matrix, etc.) record no color, preserving multi-color art.

0.9.1 #

  • Resolves the effective SVG currentColor (loader SvgTheme → inherited DefaultSvgTheme → flutter_svg's default) and ships it as the vector's currentColor, so stroke="currentColor"/fill="currentColor" icons replay in their real themed color instead of a default. A srcIn colorFilter still takes precedence as the full-picture color tint, and hard-coded fills are left untouched. Requires hindsight_flutter ^0.9.5.

0.9.0 #

  • Initial public release of the optional flutter_svg adapter for Hindsight.
  • Adds HindsightFlutterSvg.install() and HindsightFlutterSvg.uninstall().
  • Captures bundled .svg SvgPicture.asset widgets as structured SVG vector layers instead of leaf-raster PNG assets.
  • Does not inline raw SvgPicture.string, memory, file, network, or non-SVG asset sources.
0
likes
140
points
49
downloads

Documentation

API reference

Publisher

verified publisherunlimit.ing

Weekly Downloads

Optional flutter_svg integration for the Hindsight Flutter session replay SDK.

License

Apache-2.0 (license)

Dependencies

flutter, flutter_svg, hindsight_flutter

More

Packages that depend on hindsight_flutter_svg