Add persisted local state and baseline CRUD flows

This commit is contained in:
Rijad Zuzo
2026-02-15 15:12:23 +01:00
parent d708aa58d9
commit 4472668474
12 changed files with 1324 additions and 350 deletions
+5
View File
@@ -1,8 +1,13 @@
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:relationship_saver/main.dart';
import 'package:shared_preferences/shared_preferences.dart';
void main() {
setUpAll(() async {
SharedPreferences.setMockInitialValues(<String, Object>{});
});
testWidgets('renders dashboard flow', (WidgetTester tester) async {
await tester.pumpWidget(const ProviderScope(child: RelationshipSaverApp()));
await tester.pumpAndSettle();