~/talk

code generation productivity for Dart and Flutter

slides:none on file

Chrome of Dart code generation: experimental macros exist but are unstable so rely on build_runner and concrete packages: json_serializable, freezed, retrofit, injectable, auto_route, flutter_gen, i69, BDD widget and a recently released viral_file package. Large mono-repos hit real costs: analyzer can use 13–30 GB RAM, a 400-package workspace needs ~two hours to regenerate; Melos helps parallelize. Recommendations: use generate_for in build.yaml, run freezed then json_serializable then retrofit, commit generated files, collapse diffs and exclude generated files from analyzer and coverage.

AI-written summary · about

  1. 0:00Code generation intro
  2. 3:01Build runner principles
  3. 6:54Common code gen packages
  4. 12:40Faster code generation
  5. 19:26Managing generated files
  6. 24:47Package dependencies
  7. 28:22Dev workflow shortcuts
  8. 30:13Testing best practices
  9. 31:39Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.