dispaly gecko version in about dialog

This commit is contained in:
Fabian Freund
2025-09-22 13:54:13 +02:00
parent 4661386024
commit 8e5e858c9a
10 changed files with 117 additions and 31 deletions
@@ -0,0 +1,15 @@
import 'package:flutter_mozilla_components/flutter_mozilla_components.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'providers.g.dart';
@Riverpod(keepAlive: true)
Future<PackageInfo> packageInfo(Ref ref) {
return PackageInfo.fromPlatform();
}
@Riverpod()
Future<String> geckoVersion(Ref ref) {
return GeckoBrowserService().getGeckoVersion();
}