~/talk

Flutter tips and tricks

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [web-platform]
slides:none on file

Avoid async code in main; move startup into a Future (e.g. loadApp) and provide multiple entry points like main_prod to handle startup errors and restore or clear state. Use deferFirstFrame / allowFirstFrame to keep the native splash and prevent flicker while precaching assets. Don’t call async work during build — lift streams out (or use a stream_create_builder) so StreamBuilder gets a stable stream. Prefer mediaQuery.sizeOf / inherited model to reduce rebuilds, use AspectRatio instead of LayoutBuilder when possible, and use IntrinsicWidth for equal buttons.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:11App startup optimization
  3. 8:31Builders and build side effects
  4. 18:21Stream and FutureBuilder tips
  5. 22:53Widget layout best practices
  6. 28:29Caching and debugging techniques
  7. 31:40Accessibility and UI fixes
  8. 39:40Common widgets and optimizations
  9. 40:41Q&A and closing
~/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.