skip to Main Content

Flutter – ProviderContainer and GoRouter

I want to read the GoRouter outside of main() and outside of any widget. GoRouter provider is defined as follows: final goRouterProvider = Provider<GoRouter>( (ref) { return GoRouter(...); } Then when I'm initializing flutter_local_notifications I want to read this provider…

VIEW QUESTION
Back To Top
Search