~/talk

Presentation events - a missing piece in BLoC

Talkat Fluttercon Europe 2024 · 2024-07-03..07-05· [flutter]
links:none on file
slides:none on file

BLoC lacks a built‑in way to model one‑time UI events, so add a lightweight mixin that exposes a non-buffered stream for ephemeral signals and an emitPresentation method alongside regular emit. Implementation uses existing Cubit/BLoC APIs and a symmetric listener API, moves transient errors out of persistent state, and lets snackbars or toasts fire repeatedly even when identical. A small package and demo app prove it works and keeps state updates separate from presentation events.

AI-written summary · about

  1. 0:00Presentation events intro
  2. 1:09BLoC structure & limits
  3. 3:12Transient events problem
  4. 7:43Solution: presentation events mixin
  5. 9:31Live demo
  6. 16:59Conclusion & Q&A
~/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.