@@ -363,14 +363,19 @@ class FormHttpErrorsWidget extends StatelessWidget {
363
363
364
364
@override
365
365
Widget build (BuildContext context) {
366
- return Column (
367
- children: [
368
- Icon (Icons .error_outline, color: Theme .of (context).colorScheme.error),
369
- ...formatApiErrors (
370
- extractErrors (exception.errors),
371
- color: Theme .of (context).colorScheme.error,
366
+ return Container (
367
+ constraints: const BoxConstraints (maxHeight: 250 ),
368
+ child: SingleChildScrollView (
369
+ child: Column (
370
+ children: [
371
+ Icon (Icons .error_outline, color: Theme .of (context).colorScheme.error),
372
+ ...formatApiErrors (
373
+ extractErrors (exception.errors),
374
+ color: Theme .of (context).colorScheme.error,
375
+ ),
376
+ ],
372
377
),
373
- ] ,
378
+ ) ,
374
379
);
375
380
}
376
381
}
@@ -383,15 +388,20 @@ class GeneralErrorsWidget extends StatelessWidget {
383
388
384
389
@override
385
390
Widget build (BuildContext context) {
386
- return Column (
387
- children: [
388
- Icon (Icons .error_outline, color: Theme .of (context).colorScheme.error),
389
- ...formatTextErrors (
390
- widgets,
391
- title: title,
392
- color: Theme .of (context).colorScheme.error,
391
+ return Container (
392
+ constraints: const BoxConstraints (maxHeight: 250 ),
393
+ child: SingleChildScrollView (
394
+ child: Column (
395
+ children: [
396
+ Icon (Icons .error_outline, color: Theme .of (context).colorScheme.error),
397
+ ...formatTextErrors (
398
+ widgets,
399
+ title: title,
400
+ color: Theme .of (context).colorScheme.error,
401
+ ),
402
+ ],
393
403
),
394
- ] ,
404
+ ) ,
395
405
);
396
406
}
397
407
}
0 commit comments