Shuffle/app/lib/core/l10n/app_locale.g.dart
cschlaefke e5df79ee0a feat(app): add Flutter scaffold with config, logging, routing and l10n
Refs #31

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 20:17:24 +01:00

74 lines
2.2 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'app_locale.dart';
// **************************************************************************
// RiverpodGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Aktive Oberflächensprache: Gerätesprache (de/en), sonst Englisch.
///
/// Folgt Änderungen der Gerätesprache. Eine manuelle Wahl folgt mit KTO-11.
@ProviderFor(AppLocale)
final appLocaleProvider = AppLocaleProvider._();
/// Aktive Oberflächensprache: Gerätesprache (de/en), sonst Englisch.
///
/// Folgt Änderungen der Gerätesprache. Eine manuelle Wahl folgt mit KTO-11.
final class AppLocaleProvider extends $NotifierProvider<AppLocale, Locale> {
/// Aktive Oberflächensprache: Gerätesprache (de/en), sonst Englisch.
///
/// Folgt Änderungen der Gerätesprache. Eine manuelle Wahl folgt mit KTO-11.
AppLocaleProvider._()
: super(
from: null,
argument: null,
retry: null,
name: r'appLocaleProvider',
isAutoDispose: false,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$appLocaleHash();
@$internal
@override
AppLocale create() => AppLocale();
/// {@macro riverpod.override_with_value}
Override overrideWithValue(Locale value) {
return $ProviderOverride(
origin: this,
providerOverride: $SyncValueProvider<Locale>(value),
);
}
}
String _$appLocaleHash() => r'69f10aec719d677951a31d0551fe3bc440e4fbcd';
/// Aktive Oberflächensprache: Gerätesprache (de/en), sonst Englisch.
///
/// Folgt Änderungen der Gerätesprache. Eine manuelle Wahl folgt mit KTO-11.
abstract class _$AppLocale extends $Notifier<Locale> {
Locale build();
@$mustCallSuper
@override
WhenComplete runBuild() {
final ref = this.ref as $Ref<Locale, Locale>;
final element =
ref.element
as $ClassProviderElement<
AnyNotifier<Locale, Locale>,
Locale,
Object?,
Object?
>;
return element.handleCreate(ref, build);
}
}