Bruce
banner
bgeerdes.bsky.social
Bruce
@bgeerdes.bsky.social
iOS & Flutter apps | Made in Colorado | vdub.software

Mastodon:
https://mastodon.cloud/@bgeerdes
Fortunately what I was looking for was a "global" provider accessible everywhere in my app. In that case, you can wrap your App widget with the ChangeNotifierProvider. Then everyone will able to access it.
November 22, 2024 at 3:55 PM
Coding my first in-app purchase in Flutter and having my first experience with purchases of any kind in Google Play. Coming from iOS land, LOVE that a developer can issue refunds and even have control over what percentage is refunded and whether the user retains the entitlement.
November 20, 2024 at 12:48 AM
TIL if you want to cache and reuse a ChangeNotifierProvider, and not have it prematurely disposed and rendered useless, you should use ChangeNotifierProvider.value rather than the default constructor (with its create parameter).

pub.dev/packages/pro...
November 4, 2024 at 11:19 PM