The Flutter Object Key preserves the state of Stateful Widgets when you have similar data that moves around in the Widget tree.

Source Code | https://github.com/JohannesMilke/key_object_example

TIMELINE

  • 0:00 Introduction Object Key
  • 1:30 Example App
  • 2:46 Why Object Key?
  • 3:55 Add Object Key
  • 4:24 Object Key Vs Value Key

#flutter

Flutter Tutorial - Flutter Keys - Object Key
9.50 GEEK