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,7 +133,8 @@ class _PaymentMethodPageState extends State<PaymentMethodPage> {
),
),
if (widget.souscription.organisationNom != null)
Column(
Flexible(
child: Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Text('Organisation',
@@ -142,9 +143,13 @@ class _PaymentMethodPageState extends State<PaymentMethodPage> {
widget.souscription.organisationNom!,
style: TextStyle(
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
maxLines: 1,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.end,
),
],
),
),
],
),
),