~/talk

How Custom RenderObjects can make your life easier

Talkat Droidcon London 2023 · 2023-10-26..10-27· [flutter, frontend-architecture]
github:letsar
slides:none on file

About 70% of devs never write a render object and 12% admit being intimidated, yet concrete wins push it: custom layout solves a chat reaction bar that must sit at the right except when a smaller incoming message forces a left offset, makes a left gray bar match an image grid without expensive IntrinsicHeight (claimed proportional to the square of widget tree depth), and renders up to five overlapping avatars efficiently. The demo builds a SlottedMultiChildRenderObjectWidget + RenderBox, uses performLayout and paint, parentData and hitTest, and the live example (content-with-page placed at 2/3 width) compiles and paints successfully.

AI-written summary · about

  1. 0:00Introduction to custom render objects
  2. 3:21Why create custom render objects
  3. 8:44Widget and render object basics
  4. 12:46Choosing render object widget types
  5. 17:47Render object layout and painting
  6. 22:00Key render object principles
  7. 23:28Live coding a custom render object
  8. 32:37Summary and 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.