Late Initialization Error when attempting to access a Riverpod Provider that was overridden in the Provider Scope
I am trying to use Riverpod Provider to store a global variable of the user’s location that can be access from multiple pages. The idea is to use a function call getLocation() to get the location from the user’s phone, and put it into a provider, but I haven’t been able to get it to work
Late Initialization Error when attempting to access a Riverpod Provider that was overridden in the Provider Scope
I am trying to use Riverpod Provider to store a global variable of the user’s location that can be access from multiple pages. The idea is to use a function call getLocation() to get the location from the user’s phone, and put it into a provider, but I haven’t been able to get it to work