How would I go about maintaining the state of many individual material switches that represent the same information across the app? I have a rough representation of my pages and their widgets below.
Account Page: I have a Form with 10 fields which have 10 concurrent switches for displaying/hiding the info submitted in the fields.
Home Page: I have an expandable Personal Card that has 10 switches for quick display/hide of the same info from the Form.
Any examples I find seem to just demonstrate managing a single widget's state. I've looked into Riverpod and like the ideas of it being 'global' and separate from the widget tree, to me this sounds like the most viable option. But not having used Riverpod, I am a bit confused with how to implement it with my case.