~/talk

Mastering CustomPainter: Going Beyond Widgets in Flutter

Talkat Fluttercon Europe 2025 · 2025-09-24..09-26· [flutter, creative-coding]
name:Sofia Rey
links:none on file
slides:none on file

Shows a production feature: a racetrack map for the TrackHouse app built with CustomPainter that renders SVG track paths converted to Flutter Path objects using xml + path_drawing package, parses the D string into commands, and places cars by converting a percentage (example 28%) into a target distance along the path. Uses Path.computeMetrics to sum contour lengths and getTangentForOffset to get exact positions and headings; implemented successfully in production.

AI-written summary · about

  1. 0:00Introduction to CustomPainter
  2. 2:05Flutter rendering pipeline
  3. 4:54CustomPainter methods
  4. 7:29Canvas API operations
  5. 12:58Advanced painting techniques
  6. 16:34Project case study overview
  7. 18:26SVG to Flutter translation
  8. 25:21Implementing the track map
  9. 29:32Path metrics and animation
~/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.