Files
GameTime/lib/application/app_bootstrap.dart
Blomios 085dabc6e2 feat(app): scaffolding initial du projet Flutter GameTime
Structure Flutter iOS/Android (lib/ organisé en couches domain,
application, infrastructure, presentation), intégration Drift pour la
persistance locale (sqlite3_flutter_libs), configuration des plateformes
android/ et ios/. Build APK debug validé.

Ajuste le .gitignore pour ignorer l'état d'exécution IdeA
(.ideai/permissions.json) au même titre que le reste du runtime.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 18:02:20 +02:00

17 lines
396 B
Dart

import '../infrastructure/local/app_database.dart';
final class AppBootstrap {
AppBootstrap._({required this.database});
final AppDatabase database;
static Future<AppBootstrap> create() async {
final database = AppDatabase.open();
await database.customSelect('SELECT 1').get();
return AppBootstrap._(database: database);
}
Future<void> dispose() => database.close();
}