Registry / zakariaf

zakariaf/flutter-skills/custom-canvas-and-gestures

Enforces CustomPainter/Canvas discipline — the View/Painter/Scene split with a dumb painter fed one immutable Scene value type, shouldRepaint as a single value compare kept strictly separate from the AnimationController-as-repaint animation path, one shared affine transform read by BOTH painter and hit-tester (toCanvas/toLogical exact inverses, never re-derive scale), geometry hit-testing (integer lattice or rasterized region-ID buffer, never Path.contains), zero-allocation paint(), gesture-as-p

Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills

Install

npx yarkr-cli add skill:zakariaf/flutter-skills/custom-canvas-and-gestures

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/custom-canvas-and-gestures
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/custom-canvas-and-gestures

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/custom-canvas-and-gestures

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.