15

Is there data binding in Flutter?

I have checked the official documentation about the field changes but I couldn't find anyting.

Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
Muhammed Ozdogan
  • 5,341
  • 8
  • 32
  • 53

1 Answers1

14

No.

Instead Flutter has a widget binding, namely InheritedWidget. It binds two or more widgets together (one provider and some consumers) so that whenever one updates, all of its dependencies are forced to update too.

See Flutter: How to correctly use an Inherited Widget? for more details on how to use InheritedWidgets.

Rémi Rousselet
  • 256,336
  • 79
  • 519
  • 432