Clean project: remove test files, debug logs, and add documentation

This commit is contained in:
dahoud
2025-10-05 13:41:33 +00:00
parent 96a17eadbd
commit 291847924c
438 changed files with 65754 additions and 32713 deletions

View File

@@ -78,7 +78,7 @@ class AppThemeSophisticated {
pageTransitionsTheme: _pageTransitionsTheme,
// Configuration des extensions
extensions: [
extensions: const [
_customColors,
_customSpacing,
],
@@ -117,7 +117,7 @@ class AppThemeSophisticated {
// Couleurs de surface
surface: ColorTokens.surface,
onSurface: ColorTokens.onSurface,
surfaceVariant: ColorTokens.surfaceVariant,
surfaceContainerHighest: ColorTokens.surfaceVariant,
onSurfaceVariant: ColorTokens.onSurfaceVariant,
// Couleurs de contour
@@ -184,7 +184,7 @@ class AppThemeSophisticated {
);
/// Configuration des cartes sophistiquées
static CardTheme _cardTheme = CardTheme(
static final CardTheme _cardTheme = CardTheme(
elevation: SpacingTokens.elevationSm,
shadowColor: ColorTokens.shadow,
surfaceTintColor: ColorTokens.surfaceContainer,
@@ -195,7 +195,7 @@ class AppThemeSophisticated {
);
/// Configuration des boutons élevés
static ElevatedButtonThemeData _elevatedButtonTheme = ElevatedButtonThemeData(
static final ElevatedButtonThemeData _elevatedButtonTheme = ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
elevation: SpacingTokens.elevationSm,
shadowColor: ColorTokens.shadow,
@@ -217,7 +217,7 @@ class AppThemeSophisticated {
);
/// Configuration des boutons remplis
static FilledButtonThemeData _filledButtonTheme = FilledButtonThemeData(
static final FilledButtonThemeData _filledButtonTheme = FilledButtonThemeData(
style: FilledButton.styleFrom(
backgroundColor: ColorTokens.primary,
foregroundColor: ColorTokens.onPrimary,
@@ -237,7 +237,7 @@ class AppThemeSophisticated {
);
/// Configuration des boutons avec contour
static OutlinedButtonThemeData _outlinedButtonTheme = OutlinedButtonThemeData(
static final OutlinedButtonThemeData _outlinedButtonTheme = OutlinedButtonThemeData(
style: OutlinedButton.styleFrom(
foregroundColor: ColorTokens.primary,
textStyle: TypographyTokens.buttonMedium,
@@ -260,7 +260,7 @@ class AppThemeSophisticated {
);
/// Configuration des boutons texte
static TextButtonThemeData _textButtonTheme = TextButtonThemeData(
static final TextButtonThemeData _textButtonTheme = TextButtonThemeData(
style: TextButton.styleFrom(
foregroundColor: ColorTokens.primary,
textStyle: TypographyTokens.buttonMedium,
@@ -279,7 +279,7 @@ class AppThemeSophisticated {
);
/// Configuration des champs de saisie
static InputDecorationTheme _inputDecorationTheme = InputDecorationTheme(
static final InputDecorationTheme _inputDecorationTheme = InputDecorationTheme(
filled: true,
fillColor: ColorTokens.surfaceContainer,
labelStyle: TypographyTokens.inputLabel,
@@ -304,7 +304,7 @@ class AppThemeSophisticated {
);
/// Configuration de la barre de navigation
static NavigationBarThemeData _navigationBarTheme = NavigationBarThemeData(
static final NavigationBarThemeData _navigationBarTheme = NavigationBarThemeData(
backgroundColor: ColorTokens.navigationBackground,
indicatorColor: ColorTokens.navigationIndicator,
labelTextStyle: WidgetStateProperty.resolveWith((states) {
@@ -322,7 +322,7 @@ class AppThemeSophisticated {
);
/// Configuration du drawer de navigation
static NavigationDrawerThemeData _navigationDrawerTheme = NavigationDrawerThemeData(
static final NavigationDrawerThemeData _navigationDrawerTheme = NavigationDrawerThemeData(
backgroundColor: ColorTokens.surfaceContainer,
elevation: SpacingTokens.elevationMd,
shadowColor: ColorTokens.shadow,
@@ -337,7 +337,7 @@ class AppThemeSophisticated {
);
/// Configuration des dialogues
static DialogTheme _dialogTheme = DialogTheme(
static final DialogTheme _dialogTheme = DialogTheme(
backgroundColor: ColorTokens.surfaceContainer,
elevation: SpacingTokens.elevationLg,
shadowColor: ColorTokens.shadow,
@@ -350,7 +350,7 @@ class AppThemeSophisticated {
);
/// Configuration des snackbars
static SnackBarThemeData _snackBarTheme = SnackBarThemeData(
static final SnackBarThemeData _snackBarTheme = SnackBarThemeData(
backgroundColor: ColorTokens.onSurface,
contentTextStyle: TypographyTokens.bodyMedium.copyWith(
color: ColorTokens.surface,
@@ -362,7 +362,7 @@ class AppThemeSophisticated {
);
/// Configuration des puces
static ChipThemeData _chipTheme = ChipThemeData(
static final ChipThemeData _chipTheme = ChipThemeData(
backgroundColor: ColorTokens.surfaceVariant,
selectedColor: ColorTokens.primaryContainer,
labelStyle: TypographyTokens.labelMedium,
@@ -376,8 +376,8 @@ class AppThemeSophisticated {
);
/// Configuration des éléments de liste
static ListTileThemeData _listTileTheme = ListTileThemeData(
contentPadding: const EdgeInsets.symmetric(
static const ListTileThemeData _listTileTheme = ListTileThemeData(
contentPadding: EdgeInsets.symmetric(
horizontal: SpacingTokens.xl,
vertical: SpacingTokens.md,
),
@@ -388,7 +388,7 @@ class AppThemeSophisticated {
);
/// Configuration des onglets
static TabBarTheme _tabBarTheme = TabBarTheme(
static final TabBarTheme _tabBarTheme = TabBarTheme(
labelColor: ColorTokens.primary,
unselectedLabelColor: ColorTokens.onSurfaceVariant,
labelStyle: TypographyTokens.titleSmall,
@@ -403,20 +403,20 @@ class AppThemeSophisticated {
);
/// Configuration des dividers
static DividerThemeData _dividerTheme = DividerThemeData(
static const DividerThemeData _dividerTheme = DividerThemeData(
color: ColorTokens.outline,
thickness: 1.0,
space: SpacingTokens.md,
);
/// Configuration des icônes
static IconThemeData _iconTheme = IconThemeData(
static const IconThemeData _iconTheme = IconThemeData(
color: ColorTokens.onSurfaceVariant,
size: 24.0,
);
/// Configuration des transitions de page
static PageTransitionsTheme _pageTransitionsTheme = PageTransitionsTheme(
static const PageTransitionsTheme _pageTransitionsTheme = PageTransitionsTheme(
builders: {
TargetPlatform.android: CupertinoPageTransitionsBuilder(),
TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
@@ -424,10 +424,10 @@ class AppThemeSophisticated {
);
/// Extensions personnalisées - Couleurs
static CustomColors _customColors = CustomColors();
static const CustomColors _customColors = CustomColors();
/// Extensions personnalisées - Espacements
static CustomSpacing _customSpacing = CustomSpacing();
static const CustomSpacing _customSpacing = CustomSpacing();
}
/// Extension de couleurs personnalisées