riverpod library
Riverpod integration helpers.
This replaces the old package:primekit_riverpod/primekit_riverpod.dart import.
Classes
-
PkPaginationState<
T> - State for a paginated list.
Mixins
-
PkAsyncNotifierMixin<
T> -
A base class for Riverpod
AsyncNotifiers with built-in loading/error/success lifecycle and PrimeKit's Result pattern. -
PkAutoDisposeAsyncNotifierMixin<
T> -
A base class for Riverpod
AutoDisposeAsyncNotifiers. -
PkPaginationNotifierMixin<
T> - Base class for Riverpod notifiers that manage paginated lists.
-
PkStreamNotifierMixin<
T> -
A base class for Riverpod
StreamNotifiers with PrimeKit patterns.
Properties
-
pkAppPreferencesProvider
→ Provider<
AppPreferences> -
The current app preferences instance.
final
-
pkAppVersionProvider
→ FutureProvider<
String> -
Current app version string (e.g. "1.2.3").
final
-
pkConnectivityProvider
→ StreamProvider<
bool> -
Ready-to-use Riverpod providers for common PrimeKit services.
final
-
pkIsAuthenticatedProvider
→ Provider<
bool> -
Whether the current user is authenticated.
final
-
pkSecurePrefsProvider
→ Provider<
SecurePrefs> -
The secure prefs instance.
final