canvas_kit 0.5.3
canvas_kit: ^0.5.3 copied to clipboard
Composable infinite pan/zoom canvas for Flutter with interactive and programmatic camera control.
0.5.3 - 2025-12-12 #
Performance and rendering improvements:
- Reduce rebuilds during drag by rebuilding only on transform changes (
CanvasKitController.transformRevision) - World-space culling (avoid per-item world→screen math/allocs)
- Render world-anchored items under a single world
Transformfor fewer per-item transforms - Bounds grid background draws only visible grid lines (big savings for large bounds)
API additions:
CanvasKit.onRenderStatscallback withCanvasKitRenderStatsfor culling/viewport visibility stats
0.5.2 - 2025-09-14 #
Metadata updates:
- pubspec: add topics (flutter, canvas, pan-and-zoom, infinite-canvas, graphics) for better pub.dev discoverability
- chore: bump patch version to 0.5.2
0.5.1+1 - 2025-09-08 #
Docs and publishing fixes:
- README: switch logo and demo GIF to raw GitHub URLs so they render on pub.dev
- README: add "Quick Demo" section and badges/header tweaks
0.5.1 - 2025-09-07 #
Initial public preview of Canvas Kit.
- New widget:
CanvasKit(formerly InfiniteCanvas) - Controller:
CanvasKitControllerwith programmatic pan/zoom helpers - Items:
CanvasItemwith world and viewport anchoring,lockZoom,estimatedSize - Layers:
backgroundBuilderandforegroundLayersreceive liveMatrix4transform - Modes:
InteractionMode.interactiveandInteractionMode.programmatic(withgestureOverlayBuilder) - Optional world
boundswith auto-fit and boundary constraints - Example app with multiple demos (interactive, programmatic, bounds, node editor, snake, parallax)