~/talk

Draw undrawable with your custom RenderBox!

Talkat Flutter Vikings 2022 · 2022-08-31..09-01· [flutter, frontend-architecture]
links:none on file
links:none on file
slides:none on file

Builds a working hexagonal button by implementing a custom RenderBox that overrides computeDryLayout, performLayout, paint, hitTest, handleEvent and describeSemantics. Uses a RenderShiftBox base, draws a Path for the hexagon, renders a child via super.paint, and wires raw pointer events into a GestureRecognizer so taps and screen‑reader activation work. The prototype ends up as ~200 lines of code, renders correctly and supports hit testing and accessibility, but is complex and only worth it when widgets and composition cannot.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57What is RenderBox
  3. 4:30Design
  4. 8:20Widgets
  5. 10:27RenderBox
  6. 13:44RenderBox Widget
  7. 24:44Heat Test
  8. 31:02Accessibility
  9. 34:26Summary
~/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.