arch-atlas
Docs Atlas·Chapter 05 / 06·reference

Cheat sheet

Keep this open while you code

Reference, not pedagogy. The previous chapters taught you the why; this one is the lookup. Folder shapes, state holders, widget consumption patterns, dependency injection, routing, init order, universal rules, gotcha table. When you're switching projects or context, this is the page you keep open in another tab.

8Sections15Snippets9Compare rows10Checklist

Shape

Folder + boilerplate

  • Folder shape — both architectures

    Where everything lives

State

Holder + render + DI

  • State holder — Cubit vs Controller

    The smallest viable shape

  • Consume in widget

    BlocBuilder vs Obx

Platform

Routing + init + prefs

  • Dependency injection

    GetIt vs Get.put

  • Routing

    go_router vs GetX routes

  • main.dart init order

    Get it wrong → crash

Rules

Universal + gotchas

  • Universal rules

    Both architectures

  • Common gotchas

    Symptom → cause → fix

Sections

· click any card to expand
Annotate0 strokes

Apple Pencil draws with pressure. Fingers still scroll. Saved per pillar.