~/talk

How Custom RenderObjects can make your life easier

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [frontend-architecture]
github:letsar
slides:none on file

Custom RenderObjects let you do layouts that are otherwise impossible, faster, or simpler: examples show a reaction bar that needs a left gap when messages are narrow, a left gray bar matched to a sibling without using expensive IntrinsicHeight, and an avatar stack with up to five children laid out declaratively at render level. The demo implements a slotted multi-child render object widget with enum slots, uses a RenderBox performing layout, paint and parentData, positions a page at 2/3 of content and runs successfully; notes that ~70% of devs never build one and ~12% are afraid.

AI-written summary · about

  1. 0:00Introduction and meet the speaker
  2. 1:30What are render objects
  3. 5:05Why create custom render objects
  4. 8:36Render object architecture overview
  5. 9:39Widget and render object relationship
  6. 12:50Choosing render object widget types
  7. 16:21Render object types and slivers
  8. 17:24Key points in render object protocol
  9. 21:40Live coding a custom render object
~/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.