Refactoring - Version stable

This commit is contained in:
dahoud
2026-03-28 14:22:16 +00:00
parent 33134f834e
commit 11f9135f90
1167 changed files with 5266 additions and 384530 deletions

View File

@@ -135,7 +135,7 @@ class _HistoriqueEpargneSheetState extends State<HistoriqueEpargneSheet> {
? Center(
child: Text(
'Aucune transaction',
style: TypographyTokens.bodySmall?.copyWith(color: ColorTokens.onSurfaceVariant),
style: TypographyTokens.bodySmall.copyWith(color: ColorTokens.onSurfaceVariant),
),
)
: ListView.builder(
@@ -167,12 +167,12 @@ class _HistoriqueEpargneSheetState extends State<HistoriqueEpargneSheet> {
if (t.dateTransaction != null)
Text(
'${t.dateTransaction!.day.toString().padLeft(2, '0')}/${t.dateTransaction!.month.toString().padLeft(2, '0')}/${t.dateTransaction!.year} ${t.dateTransaction!.hour.toString().padLeft(2, '0')}:${t.dateTransaction!.minute.toString().padLeft(2, '0')}',
style: TypographyTokens.bodySmall?.copyWith(color: ColorTokens.onSurfaceVariant),
style: TypographyTokens.bodySmall.copyWith(color: ColorTokens.onSurfaceVariant),
),
if (t.motif != null && t.motif!.isNotEmpty)
Text(
t.motif!,
style: TypographyTokens.bodySmall?.copyWith(color: ColorTokens.onSurfaceVariant),
style: TypographyTokens.bodySmall.copyWith(color: ColorTokens.onSurfaceVariant),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
@@ -184,14 +184,14 @@ class _HistoriqueEpargneSheetState extends State<HistoriqueEpargneSheet> {
children: [
Text(
'${t.isCredit ? '+' : '-'}${t.montant.toStringAsFixed(0)} XOF',
style: TypographyTokens.titleSmall?.copyWith(
style: TypographyTokens.titleSmall.copyWith(
color: t.isCredit ? ColorTokens.success : ColorTokens.error,
fontWeight: FontWeight.w600,
),
),
Text(
'Solde: ${t.soldeApres.toStringAsFixed(0)}',
style: TypographyTokens.labelSmall?.copyWith(color: ColorTokens.onSurfaceVariant),
style: TypographyTokens.labelSmall.copyWith(color: ColorTokens.onSurfaceVariant),
),
],
),