three-dart-fundamentals

Installation
SKILL.md

three_dart Fundamentals

Iron Law

Always call renderer.dispose() in the widget dispose() method — failing to do so leaks the WebGL context, causing a crash after ~8 widget recreations on mobile.

Flutter uses the three_dart package — a Dart port of Three.js. API concepts are identical to Three.js; only syntax changes (Dart instead of JavaScript).

pubspec.yaml

dependencies:
  three_dart: ^0.0.15
  flutter_gl: ^0.0.10  # required — OpenGL bindings

Quick Start

Installs
3
GitHub Stars
34
First Seen
May 21, 2026
three-dart-fundamentals — kumaran-is/claude-code-onboarding