title: Flutter: Why is Provider a better option than a class called AppGlobal with only static singletons?
body: <p>From what I understand about the flutter package, <code>Provider</code>, is that it's a way to share objects between widgets. I know another way of doing this is to create a class, say <code>AppGlobal</code>, and define various <code>static</code> variables that the whole app could use. It's suggested that <code>Provider</code> is a better way of doing that, but I don't understand why that is. </p>