Understanding State Management Using Providers in Flutter

Meysam Mahfouzi
8 min readFeb 2, 2021

Everything around us has a state. For example, what are the states of a thermometer?

  • The color of the metal plate (white)
  • The color of the liquid (red)
  • The height of the liquid in the tube (e.g. 10 centimeters)
Photo by Jarosław Kwoczała on Unsplash

And what are the states of weather?

--

--