Ajoute l'écran de programme (presentation/program_screen.dart) et un écran d'accueil (presentation/home_screen.dart) pour la navigation, avec les ajustements application/domaine/repositories nécessaires. flutter analyze propre, 11/11 tests verts, build APK debug validé. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
555 B
Dart
23 lines
555 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../application/app_bootstrap.dart';
|
|
import 'home_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: HomeScreen(bootstrap: bootstrap),
|
|
);
|
|
}
|
|
}
|