Flutter Render Objects

Writes custom Flutter RenderObjects the way renderobjects.com (Matt Carroll) teaches, checked against api.flutter.dev: the widget, element and render trees, when a custom render object is worth it, choosing a child model (single, list, slotted, custom element, built during layout), parent data and ParentDataWidget, performLayout, dry layout, baselines and intrinsics, painting, layers and compositing, hit testing and mouse cursors, semantics, showOnScreen, diagnostics and debug paint, element lookups and GlobalKey reparenting, and three worked examples. Use when writing or reviewing a RenderBox, RenderObjectWidget or custom RenderObjectElement, or when a layout, paint or hit test needs more control than composing widgets gives.

Quegenx Updated

File contents

Quegenx/agent-skills/tree/main/skills/mobile/flutter-render-objects commit 6418116fd4

Frequently asked questions

npx get-skill add quegenx/flutter-render-objects