sinew_riverpod_providers 1.1.0
sinew_riverpod_providers: ^1.1.0 copied to clipboard
Ready Riverpod providers for Sinew's network and storage services, and useNetworkChecker.
1.1.0 #
appServicesProvider(override it with the app's services) andappServiceHostProvider: reading the host starts the app services, and disposing the container destroys them. The session owner callsstartSessionandstopSessionon it.
1.0.0 #
- S5: ready providers.
sinewConfigProviderandrefreshCallProvider, which the app overrides (a missing override throws aStateErrornaming the provider and how to override it);secureStoreProvider(aFutureProvider, awaited once at startup),keyValueStoreProvider,refreshTokenStoreProvider(SecureRefreshTokenStore, the refresh token in the secure store undersession.refreshToken),tokenSourceProvider(SessionTokenSource),sinewHttpProvider(SinewHttp.dio) andnetworkCheckerProvider(disposed with the container);useNetworkChecker(checker), rebuilding on connectivity changes. Replaces the S0 placeholder. - S0: package skeleton.