Ephemeral state (sometimes called UI state or local state) is the state you can neatly contain in a single widget .
Read moreHow do you use an inherited widget in Flutter?
In flutter, the inherited widget is a base class that allows those classes to extend the information under the tree from it. Inherited widgets are also a kind of state management technique. It works by telling registered build references when a change occurs .
Read more