Ajoute l'écran de bibliothèque d'exercices (presentation/exercise_library_screen.dart) et ajuste la couche application/domaine (bootstrap, ports, use cases, entités, repositories Drift) pour l'alimenter. flutter analyze propre, 9/9 tests verts, build APK debug validé. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
667 B
Dart
26 lines
667 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../application/app_bootstrap.dart';
|
|
import 'exercise_library_screen.dart';
|
|
|
|
final class GameTimeApp extends StatelessWidget {
|
|
const GameTimeApp({required this.bootstrap, super.key});
|
|
|
|
final AppBootstrap bootstrap;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'GameTime',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF0E7C66)),
|
|
useMaterial3: true,
|
|
),
|
|
home: ExerciseLibraryScreen(
|
|
exerciseUseCases: bootstrap.exerciseUseCases,
|
|
mediaUseCases: bootstrap.mediaUseCases,
|
|
),
|
|
);
|
|
}
|
|
}
|