React → Flutter: Mental Model
Flutter is not a foreign country — it’s a familiar city with different street names. Your React instincts about declarative UI, component composition, props-down/events-up, and state driving renders are all valid in Flutter. What changes is the syntax layer and a handful of framework conventions. This module maps those shifts explicitly so you spend zero time re-learning fundamentals and jump straight to being productive.
The six shifts
Section titled “The six shifts”| Lesson | The shift |
|---|---|
| Everything is a Widget | Layout/spacing/styling are widgets, not CSS |
| Declarative UI | Same idea (UI = f(state)) — different reconciler |
| No JSX | Dart constructors instead of angle-bracket tags |
| Composition | Wrapping widgets instead of wrapping components |
| Same vs Different | The explicit lookup table for your muscle memory |