Flutter & Dart for React + TypeScript Developers
Learn Dart 3, Flutter Widgets, Riverpod, and Freezed by progressively reconstructing a production-grade Electronics Parts Tracker from scratch—anchored at every step to the React and TypeScript mental models you already know.
Course Mission
You already know how to model state with TypeScript interfaces, compose declarative UIs with React function components, manage server/client state with Context, Zustand, or TanStack Query, and verify behavior with React Testing Library.
In this course, you will rebuild the Electronics Parts Tracker (parts_tracker_skilled) step by step inside ./tutorial/apps/. Every lesson pairs one focused slice of the real application with an interactive code exercise, a retrieval quiz, and a runnable companion app verified via flutter analyze and flutter test.
flowchart LR L1["0001: Bootstrap,<br/>ProviderScope & Shell"] --> L2["0002: Freezed Domain<br/>Models & JSON"] L2 --> L3["0003: Persistence Seam<br/>& Atomic File I/O"] L3 --> L4["0004: Riverpod AsyncNotifier<br/>& Slot Uniqueness"] L4 --> L5["0005: Unit-Aware Search<br/>& Filter Providers"] L5 --> L6["0006: LCSC HTTP Client<br/>& Fake Injection"] L6 --> L7["0007: Workbench UI<br/>& Inline Accordion"] L7 --> L8["0008: Bottom Sheets,<br/>Forms & Full Suite"]
Published Lessons
Initialize the Parts Tracker foundation: pubspec.yaml, void main(), ProviderScope, StatelessWidget with const constructors, Material 3 dark theme, and your first headless widget test.
Model Container, Part, and CatalogSnapshot in lib/catalog/catalog_models.dart using @freezed, json_serializable, computed getters, and the 1-to-1 (Container, Slot) lookup.
Build CatalogPersistence, InMemoryCatalogPersistence, and FileCatalogPersistence with a serialized Completer write queue, atomic .tmp rename, and backup/export support.
Build the Catalog AsyncNotifier with upsertPart, (Container, Slot) uniqueness, quantity clamping, cascading container deletion, all-or-nothing JSON import validation, and ConsumerWidget UI binding.
Implement PartSearchEngine (lib/search/part_search_engine.dart) and reactive workbench filter providers (lib/search/workbench_filter_provider.dart) with @freezed sealed class pattern matching.
Reference Sheets & Printable Guides
Keep these reference sheets open alongside the lessons—or print them directly (Cmd+P), which automatically switches to a high-contrast light print stylesheet:
Canonical definitions for the Electronics Parts Tracker domain (`Part`, `Spec`, `Container`, `Slot`) and core Flutter/Riverpod architecture.
Side-by-side mapping of TypeScript types, JSX components, hooks, Context/Zustand, and React Testing Library to Dart 3, Widgets, Riverpod, and Freezed.
CLI verification commands (`flutter analyze`, `flutter test`) and side-by-side translations from React Testing Library to `WidgetTester` and `ProviderContainer`.