16

Is there data binding in Flutter?

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

3
  • 1
    Can you please provide a use case or code example to better elaborate your question. Commented Oct 1, 2018 at 12:45
  • There is no need for that in Flutter. Commented Oct 1, 2018 at 12:58
  • I was flowing Flutter Course of Udacity and this the quiz where I seek the data binding: github.com/flutter/udacity-course/tree/master/course/06_input/… I just want to bind Input value to Output Text with proper formula. Commented Oct 1, 2018 at 14:32

1 Answer 1

15

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.