![]() ![]() And, the he wants the business card to automatically change it's title when he gets older and graduates, and starts his career. In this example, Yohan has made a digital business card. NB: It's important to note that you still can interact with the person if you'd like, and you don't have to expose the person via the job instance. Which means that the Job is the object you'll likely want to interface with, but it's values rely on the person, so that will be exposed as well. A Job requires a person for initialization. I am providing a Person object to the widget tree, and also a Job object. In the following example, our example friend 'Yohan' is growing up, and it's time for him to get a job. Using Proxy ProviderĮxplaining the proxy provider in words is pretty esoteric and hard to grok, so let's look at some code. Those same classes exist for ChangeNotifierProvider and ListenableProxyProvider.
0 Comments
Leave a Reply. |