Files
HouseHoldKeaper/lib/features/rooms/presentation/room_providers.g.dart
Jean-Luc Makiola 32e61e4bec feat(02-02): create room providers, form screen, icon picker, and router routes
- Add Riverpod providers (roomWithStatsList, RoomActions) connecting to RoomsDao
- Create RoomFormScreen with name field, icon picker preview, create/edit modes
- Create IconPickerSheet bottom sheet with curated Material Icons grid
- Add nested GoRouter routes: /rooms/new, /rooms/:roomId, /rooms/:roomId/edit
- Add placeholder TaskListScreen and TaskFormScreen for Plan 03 routes
- Add 11 new German localization keys for room management UI
- Add flutter_reorderable_grid_view dependency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 22:00:57 +01:00

106 lines
3.0 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'room_providers.dart';
// **************************************************************************
// RiverpodGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Watches all rooms with computed task stats (due count, cleanliness ratio).
@ProviderFor(roomWithStatsList)
final roomWithStatsListProvider = RoomWithStatsListProvider._();
/// Watches all rooms with computed task stats (due count, cleanliness ratio).
final class RoomWithStatsListProvider
extends
$FunctionalProvider<
AsyncValue<List<RoomWithStats>>,
List<RoomWithStats>,
Stream<List<RoomWithStats>>
>
with
$FutureModifier<List<RoomWithStats>>,
$StreamProvider<List<RoomWithStats>> {
/// Watches all rooms with computed task stats (due count, cleanliness ratio).
RoomWithStatsListProvider._()
: super(
from: null,
argument: null,
retry: null,
name: r'roomWithStatsListProvider',
isAutoDispose: true,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$roomWithStatsListHash();
@$internal
@override
$StreamProviderElement<List<RoomWithStats>> $createElement(
$ProviderPointer pointer,
) => $StreamProviderElement(pointer);
@override
Stream<List<RoomWithStats>> create(Ref ref) {
return roomWithStatsList(ref);
}
}
String _$roomWithStatsListHash() => r'8f6f8d6be77725c38be13e9420609638ec2868f9';
/// Async notifier for room mutation actions (create, update, delete, reorder).
@ProviderFor(RoomActions)
final roomActionsProvider = RoomActionsProvider._();
/// Async notifier for room mutation actions (create, update, delete, reorder).
final class RoomActionsProvider
extends $AsyncNotifierProvider<RoomActions, void> {
/// Async notifier for room mutation actions (create, update, delete, reorder).
RoomActionsProvider._()
: super(
from: null,
argument: null,
retry: null,
name: r'roomActionsProvider',
isAutoDispose: true,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$roomActionsHash();
@$internal
@override
RoomActions create() => RoomActions();
}
String _$roomActionsHash() => r'4004a7a39474cc4ea1e89b8533edaa217ac543ce';
/// Async notifier for room mutation actions (create, update, delete, reorder).
abstract class _$RoomActions extends $AsyncNotifier<void> {
FutureOr<void> build();
@$mustCallSuper
@override
void runBuild() {
final ref = this.ref as $Ref<AsyncValue<void>, void>;
final element =
ref.element
as $ClassProviderElement<
AnyNotifier<AsyncValue<void>, void>,
AsyncValue<void>,
Object?,
Object?
>;
element.handleCreate(ref, build);
}
}