fix(#131): polish fiche AM — champs pro, places, vigilance et photo.

Fiche pro entièrement éditable, places déclarées en lecture seule avec alerte rouge, icône vigilance sur la liste AM, et cadrage photo aligné sur le wizard validation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-06 17:37:21 +02:00
co-authored by Cursor
parent 479a32b4bf
commit 4985726bc6
10 changed files with 315 additions and 113 deletions
@@ -26,7 +26,20 @@ class AdminChildrenAffiliationPanel extends StatelessWidget {
@override
Widget build(BuildContext context) {
final panelHeight = height ?? defaultViewportHeight;
if (height != null) {
return _panel(height!);
}
return LayoutBuilder(
builder: (context, constraints) {
final h = constraints.maxHeight.isFinite && constraints.maxHeight > 0
? constraints.maxHeight
: defaultViewportHeight;
return _panel(h);
},
);
}
Widget _panel(double panelHeight) {
return Container(
height: panelHeight,
decoration: BoxDecoration(