~/talk

Adding physics to your Flutter App

Talkat droidcon London 2022 · 2022-10-27..10-28· [flutter, web-animation]
links:none on file
slides:none on file

Built a live “bubble chart” that maps widget votes to physics-driven circles using Force2D (Box2D port) with Flame + flame_forge2d bridge, Firebase for votes and flame_bloc for state. Each bubble is a dynamic body with fixtures (radius, density, restitution), per-bubble gravity override that pulls toward the screen center, and tappable/draggable mixins that update both visual circle and physics shape. Demo runs locally, collisions and growth work; Force2D is v0.11 and still young.

AI-written summary · about

  1. 0:00Introduction to physics in Flutter
  2. 1:09What is Force 2D
  3. 2:56Demo: Bubble chart concept
  4. 4:43Force 2D world and bodies
  5. 7:54Overview of Flame engine
  6. 9:19Creating a bubble component
  7. 11:03Adding movement to components
  8. 13:09Flame Force 2D integration
  9. 15:17Adding static and dynamic bodies
  10. 16:20Custom gravity for bubbles
  11. 17:23Adding multiple bubbles
  12. 18:04Handling taps on bubbles
  13. 19:28Final demo and interactions
  14. 19:48Recap of key concepts
  15. 20:32Advanced features and resources
  16. 21:57Q&A and closing
~/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.