canvas_renderer_flutter 0.7.0
canvas_renderer_flutter: ^0.7.0 copied to clipboard
Flutter renderer for canvas_core paint operations and scene exports.
0.7.0 #
- Breaking: require
canvas_core 0.8.x. - No rendering behavior changes.
0.6.0 #
- Breaking: require
canvas_core 0.7.x. - Support the explicit component behavior
versionanddataenvelope introduced bycanvas_core 0.7.0.
0.5.0 #
- Breaking: require
canvas_core 0.6.x. - Breaking: stop re-exporting
CanvasFitandContentBoundsPolicy. Import these core-owned types fromcanvas_core_runtime.dart. - Breaking: require one typed
CanvasSceneDocumentinCanvasDocumentExporter.exportPng()and remove thedocumentJsoninput. - Breaking: remove exporter-level
renderBuildersupport. Callers that use scene preparation must supply the already-prepared runtime scene. - Render the supplied scene directly through
CanvasRenderPipeline.build(). - Consume the
CanvasViewportTransformreturned directly byCanvasViewportPlanner.plan().
0.4.0 #
- Breaking: make
FlutterTextPipelineimplement the coreTextMeasurercontract directly. - Breaking: remove
FlutterTextMeasurer,TextMetrics, and the previousFlutterTextPipeline.measure(TextSpec)API. - Breaking: require a caller-owned
FlutterTextPipelinewhen constructingCanvasRendererandCanvasDocumentExporter. - Breaking: remove
fallbackFontFamiliesfromCanvasDocumentExporter; fallback fonts are configured on the supplied text pipeline instead. - Dispose cached
TextPainterinstances during LRU eviction, cache clearing, and pipeline disposal. - Dispose operation-scoped shadow, solid-color, and gradient text painters after painting.
- Add reusable
clearCache()and idempotent terminaldispose()lifecycle behavior. - Throw
StateErrorwhen measurement or painting is attempted after pipeline disposal. - Reject non-positive text-layout cache limits with
ArgumentErrorin all build modes.
0.3.1 #
- Make PNG output image cleanup exception-safe.
- Document that export input images remain caller-owned.
0.3.0 #
- Breaking: make
FlutterImagePoolthe sole owner of decoded images and stable intrinsic image metadata. - Remove
FlutterImageIntrinsicsand the separateintrinsicsmethod parameters. - Expose decoded images through a live, read-only map.
- Add injectable image decoding with explicit ownership transfer.
- Dispose replaced, removed, stale, late, and retained image handles.
- Prevent older intrinsic and raster requests from overwriting newer state.
0.2.0 #
- Breaking: require
canvas_core 0.4.x. - Replace pre-expanded text with native
doubleletter spacing. - Forward letter spacing through measurement, caching, and painting.
0.1.1 #
- Expand the supported
canvas_corerange to include0.3.x. - No renderer behavior or API changes.
0.1.0 #
- Initial open-source release of canvas_renderer_flutter.
- Provides Flutter rendering, text measurement, decoded image caching, image intrinsic helpers, and PNG export support for canvas_core scenes.
- Includes optional ImageProvider helpers behind a separate import for apps that want to resolve common image refs across mobile and web.