3

Building a Todo Application Using Inherited Widgets and Provider

Quite often, when building an application, developers must also figure out how to share information in multiple places in the application. A common pattern for sharing data is to pass information down as a property top-down from parent to child, and through each nested child until you reach the widget that depends on that information. While this pattern is certainly fine for small applications, it can become quite cumbersome in large applications. In this chapter, we’ll explore this pattern and alternative solutions for sharing dependencies in an application.

In this chapter, we will cover the following topics:

  • Sharing dependencies in a Flutter application
  • Setting up the project ...

Get Cross-Platform UIs with Flutter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.