In any programming language or framework, the most debated question is something related to state management or architecture pattern.

And the solution for this always evolving and it’s completely based on application needs and your familiarity with the approach.

Since last Google I/O 2019, I was completely aligned with Provider package which uses the concept of InheritedWidget behind the scene and simplifies the usage InheritedWidget for the application developer.

Image for post
Image for post

By using this package your code can be more simplified, more readable and more maintainable. You can get rid of many stateful widgets and logical stuff out of your UI widgets…

Jignesh Patel

Freelancer | Software Engineer | Flutter | Android | iOS | Technical Blogger | Mentor —

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store