increase min sdk and apply new formatter

This commit is contained in:
Fabian Freund
2025-02-18 15:37:03 +01:00
parent f7885fc829
commit a1ee8bef35
266 changed files with 11329 additions and 10058 deletions
@@ -24,9 +24,7 @@ class _TorService {
Future<void> initializeService() async {
await service.configure(
iosConfiguration: IosConfiguration(
autoStart: false,
),
iosConfiguration: IosConfiguration(autoStart: false),
androidConfiguration: AndroidConfiguration(
autoStart: false,
onStart: onStart,
@@ -67,11 +65,9 @@ class TorProxyService extends _$TorProxyService {
@override
Future<int?> build() async {
final portSub = _tor.portStream.distinct().listen(
(port) {
state = AsyncData(port);
},
);
final portSub = _tor.portStream.distinct().listen((port) {
state = AsyncData(port);
});
await _tor.initializeService();
@@ -12,14 +12,15 @@ String _$torProxyServiceHash() => r'85ed8e3b49007aa56e6b82ff802a3e0ce567a0c8';
@ProviderFor(TorProxyService)
final torProxyServiceProvider =
AsyncNotifierProvider<TorProxyService, int?>.internal(
TorProxyService.new,
name: r'torProxyServiceProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$torProxyServiceHash,
dependencies: null,
allTransitiveDependencies: null,
);
TorProxyService.new,
name: r'torProxyServiceProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product')
? null
: _$torProxyServiceHash,
dependencies: null,
allTransitiveDependencies: null,
);
typedef _$TorProxyService = AsyncNotifier<int?>;
// ignore_for_file: type=lint