versionStringProvider top-level property

AutoDisposeFutureProviderFamily<String, AppLocalizations> versionStringProvider
final

Implementation

final versionStringProvider = FutureProvider.autoDispose
    .family<String, AppLocalizations>((ref, localizations) async {
  final packageInfo = await PackageInfo.fromPlatform();
  return '${localizations.aedappfm_version} ${packageInfo.version} - ${localizations.aedappfm_build} ${packageInfo.buildNumber}';
});