packageInfo function
Provides the app's PackageInfo, loaded once and kept alive.
Implementation
@Riverpod(keepAlive: true)
Future<PackageInfo> packageInfo(Ref ref) => PackageInfo.fromPlatform();
Provides the app's PackageInfo, loaded once and kept alive.
@Riverpod(keepAlive: true)
Future<PackageInfo> packageInfo(Ref ref) => PackageInfo.fromPlatform();