~/talk

Flutter UX: Material State Properties

Talkat Google I/O Extended Montreal 2021 · on Saturday, 2021-06-12· [flutter]
links:none on file
slides:none on file

Flutter now uses material state properties to drive interaction: use MaterialStateProperty.resolveWith to return different colors/elevations based on a stored set of states, replace deprecated RaisedButton with ElevatedButton + ButtonStyle, or subclass MaterialStateColor to encapsulate resolve logic. Custom widgets keep an internal Set of states updated by MouseRegion + GestureDetector handlers and call resolve(stateSet) in build, letting UI like an InteractiveCard change border radius and color without per-widget stateful boilerplate.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Why Flutter
  3. 1:59Desktop Web Mouse
  4. 3:01Platform Norms
  5. 5:18Private Functions
  6. 5:57Mouse Region
  7. 6:25Speaker Card
  8. 7:44Testing
  9. 8:17Standoffs
  10. 9:19Material State
  11. 10:34Material State Properties Code
  12. 13:02Material State Properties enum
  13. 14:56Implementing Material State Properties with Custom Widgets
  14. 19:17Recap
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.