added const to MyApp in Providers child

This commit is contained in:
2025-06-24 20:40:19 +02:00
parent 00cedf8647
commit 41e9eb2c91

View File

@@ -8,7 +8,7 @@ void main() {
runApp(
Provider<AppDatabase>(
create: (context) => AppDatabase(),
child: MyApp(),
child: const MyApp(),
dispose: (context, db) => db.close(),
),
);