Flutter Interview Questions- State mangement


What is your approach on implementing State Management in Flutter Apps?

My approach on implementing state management in Flutter Apps is divide into two states:

  1. App Level state App Level state affects only the entire application and all screens. For example authentication of a user can be consider as app level state where if user authenticated the dashboard should be loaded otherwise user should navigated to Login Screen. If the user is not authenticated, we typically want to show a totally different app,
  2. Widget level state widget local state affects only widget level and not on other widgets . Example is showing error message per a page and displaying loading etc.