feat : Add Event details view with first informations

This commit is contained in:
Yaël Perret
2025-07-15 21:32:32 +02:00
parent 5cbed8e6cd
commit 2cb2133208
13 changed files with 1307 additions and 3024 deletions

View File

@@ -38,53 +38,87 @@ class MainApp extends StatelessWidget {
onPrimary: Colors.white,
onSecondary: Colors.white,
onBackground: Colors.white,
onSurface: Colors.white,
onSurface: Colors.black,
onPrimaryContainer: Colors.black,
onSecondaryContainer: Colors.black,
onTertiaryContainer: Colors.black,
surfaceBright: Colors.black,
),
iconTheme: const IconThemeData(
color: Colors.white,
),
textTheme: TextTheme(
displayLarge: GoogleFonts.firaSans(
fontSize: 96, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 96,
fontWeight: FontWeight.normal,
color: Colors.white),
displayMedium: GoogleFonts.firaSans(
fontSize: 60, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 60,
fontWeight: FontWeight.normal,
color: Colors.white),
displaySmall: GoogleFonts.firaSans(
fontSize: 48, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 48,
fontWeight: FontWeight.normal,
color: Colors.white),
headlineLarge: GoogleFonts.firaSans(
fontSize: 40, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 40,
fontWeight: FontWeight.normal,
color: Colors.white),
headlineMedium: GoogleFonts.firaSans(
fontSize: 34, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 34,
fontWeight: FontWeight.normal,
color: Colors.white),
headlineSmall: GoogleFonts.firaSans(
fontSize: 24, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 24,
fontWeight: FontWeight.normal,
color: Colors.white),
titleLarge: GoogleFonts.firaSans(
fontSize: 20, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 20,
fontWeight: FontWeight.normal,
color: Colors.white),
titleMedium: GoogleFonts.firaSans(
fontSize: 16, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 16,
fontWeight: FontWeight.normal,
color: Colors.white),
titleSmall: GoogleFonts.firaSans(
fontSize: 14, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 14,
fontWeight: FontWeight.normal,
color: Colors.white),
bodyLarge: GoogleFonts.firaSans(
fontSize: 20, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 20,
fontWeight: FontWeight.normal,
color: Colors.white),
bodyMedium: GoogleFonts.firaSans(
fontSize: 16, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 16,
fontWeight: FontWeight.normal,
color: Colors.white),
bodySmall: GoogleFonts.firaSans(
fontSize: 14, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 14,
fontWeight: FontWeight.normal,
color: Colors.white),
labelLarge: GoogleFonts.firaSans(
fontSize: 14, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 14,
fontWeight: FontWeight.normal,
color: Colors.white),
labelMedium: GoogleFonts.firaSans(
fontSize: 12, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 12,
fontWeight: FontWeight.normal,
color: Colors.white),
labelSmall: GoogleFonts.firaSans(
fontSize: 10, fontWeight: FontWeight.normal, color: Colors.white),
fontSize: 10,
fontWeight: FontWeight.normal,
color: Colors.white),
)),
localizationsDelegates: const [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('en'),
Locale('fr'),
Locale('ch'),
],
localizationsDelegates: const [
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('en'),
Locale('fr'),
Locale('ch'),
],
);
}
}