providers library
Classes
- UserProvider
- Provides the currently logged in User. The user is inferred from the UserToken provided by userTokenProvider and will be updated automatically as changes occur.
- UsersProvider
- Provides a list of all users.
Constants
- kLbPlannerApiServiceName → const String
-
The name of the web service for the LB Planner API.
'lb_planner_api'
- kMoodleMobileAppServiceName → const String
-
The name of the web service for the Moodle Mobile App.
'moodle_mobile_app'
Properties
-
authServiceProvider
→ ProviderFamily<
AuthService, String> -
Provides the current
AuthService
instance for the given web service name.final -
userController
→ AlwaysAliveRefreshable<
UserProvider> -
Provides methods for manipulating logged in User.
final
-
userDataSourceProvider
→ Provider<
UserDataSource> -
Provides the current
UserDataSource
instance.final -
userProvider
→ StateNotifierProvider<
UserProvider, User?> -
Provides the currently logged in
User
. The user is inferred from the UserToken provided by userTokenProvider and will be updated automatically as changes occur.final -
usersProvider
→ StateNotifierProvider<
UsersProvider, List< User> > -
Provides a list of all users.
final
-
usersRespositoryProvider
→ AlwaysAliveRefreshable<
UsersProvider> -
Provides the repository for all users.
final
-
userTokenController
→ AlwaysAliveRefreshable<
UserTokenState> -
Provides the controller for the current UserToken
final
-
userTokenLocalConfigServiceProvider
→ Provider<
LocalConfigService< UserToken> > -
Provides the current
LocalConfigService
instance for UserToken.final -
userTokenProvider
→ AsyncNotifierProviderImpl<
UserTokenState, UserToken> -
Provides the current
UserToken
final