![Flutter provider http request](https://loka.nahovitsyn.com/65.jpg)
To keep the tutorial focussed on the architecture only I have setup a starting project in the tutorials repo under 010. The model just calls the function and passes values to it. Authentication service will use the Api to get the user details and track it. The model will just call the function to do that. Api class will request and serialize data.
![flutter provider http request flutter provider http request](https://i.ytimg.com/vi/pNVdhdKrq6U/maxresdefault.jpg)
Let's look at the app we're building so we can have some context. This guide will have a very similar setup to my ScopedModel Guide. Even for large or massive apps (given you follow some coding guidelines). I've implemented apps in Redux, BLoC and ScopedModel and I still consider ScopedModel the most practical and straight forward approach to build apps in Flutter.
#FLUTTER PROVIDER HTTP REQUEST HOW TO#
In this guide I will show you a code structure, naming conventions, where to place files, how to keep things well organised and easy to maintain using the Provider package. Having built a few mobile apps with various technologies, I've found that certain principles will and should be present no matter what architecture or state management solution you choose. Flutter architecture around state management has been a discarded topic.
![Flutter provider http request](https://loka.nahovitsyn.com/65.jpg)