Created
March 20, 2024 17:48
-
-
Save snapsl/fbccf12b06107b5ba7aa4c7d1f9147a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:package_info_plus/package_info_plus.dart'; | |
import 'package:riverpod_annotation/riverpod_annotation.dart'; | |
part 'package_info_provider.g.dart'; | |
@riverpod | |
Future<PackageInfo> packageInfo(PackageInfoRef ref) => | |
PackageInfo.fromPlatform(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment