Sign in

Providers are part of state management in flutter. It is an easy and effective way to manage state.

For small apps it is okay to use setState() for updating data in UI. But for large scale app it becomes horrific and we can’t scale up the app.

Let me clarify necessity of state management in brief. Suppose if you are building an app in which model class is used more than one screen , you can update data on one screen and then pass the updated data through constructor through many classes . It does not look professional.

Along with…


There are four types of launch modes in android :-

Standard → new instance is created whenever we launch new activity

SingleTaskonly one instance will remain in stack. When activity is launched old instance will be called and activity on the top of it will be destroyed

SingleTop → if activity having this launch mode is already on top new Instance will not be created when it is launched but if it is not on top then only new instance will be created

SingleInstance → it is similar to singleTask but new activity will be in new task

Yogesh

Android and flutter developer and technology enthusiast

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