canvas_kit 0.5.1
canvas_kit: ^0.5.1 copied to clipboard
Composable infinite pan/zoom canvas for Flutter with interactive and programmatic camera control.
0.5.1 - 2025-09-07 #
Initial public preview of Canvas Kit.
- New widget:
CanvasKit
(formerly InfiniteCanvas) - Controller:
CanvasKitController
with programmatic pan/zoom helpers - Items:
CanvasItem
with world and viewport anchoring,lockZoom
,estimatedSize
- Layers:
backgroundBuilder
andforegroundLayers
receive liveMatrix4
transform - Modes:
InteractionMode.interactive
andInteractionMode.programmatic
(withgestureOverlayBuilder
) - Optional world
bounds
with auto-fit and boundary constraints - Example app with multiple demos (interactive, programmatic, bounds, node editor, snake, parallax)