fix(payment): overflow 2px sur le nom d'organisation dans la carte montant

Le Column du nom d'organisation n'était pas dans un Flexible — si le nom
est long, le Row débordait. Ajout Flexible + maxLines: 1 + ellipsis.
This commit is contained in:
dahoud
2026-04-16 19:03:15 +00:00
parent 14ecdd642b
commit 36a39433c2

View File

@@ -133,17 +133,22 @@ class _PaymentMethodPageState extends State<PaymentMethodPage> {
),
),
if (widget.souscription.organisationNom != null)
Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Text('Organisation',
style: TextStyle(color: textSecondary, fontSize: 11)),
Text(
widget.souscription.organisationNom!,
style: TextStyle(
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
),
],
Flexible(
child: Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Text('Organisation',
style: TextStyle(color: textSecondary, fontSize: 11)),
Text(
widget.souscription.organisationNom!,
style: TextStyle(
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
maxLines: 1,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.end,
),
],
),
),
],
),