diff --git a/lib/src/app/app_error_page.dart b/lib/src/app/app_error_page.dart index bd45a080..b0864aa7 100644 --- a/lib/src/app/app_error_page.dart +++ b/lib/src/app/app_error_page.dart @@ -18,8 +18,7 @@ class AppErrorPage extends StatelessWidget { debugShowCheckedModeBanner: false, home: SafeArea( child: BaseScaffold( - appBody: Column( - mainAxisSize: MainAxisSize.min, + appBody: ListView( children: [ getWidget(), ], diff --git a/lib/src/widgets/common/error/location_error.dart b/lib/src/widgets/common/error/location_error.dart index 56fa7aa8..df743a6d 100644 --- a/lib/src/widgets/common/error/location_error.dart +++ b/lib/src/widgets/common/error/location_error.dart @@ -212,7 +212,7 @@ class LocationErrorWidget extends StatelessWidget { color: AppColors.kLightGrey, ), ), - Spacer(), + SizedBox(width: 8,), Padding( padding: const EdgeInsets.all(8), child: Row( diff --git a/lib/src/widgets/common/error/unknown_error.dart b/lib/src/widgets/common/error/unknown_error.dart index 8f3272d8..9dd07699 100644 --- a/lib/src/widgets/common/error/unknown_error.dart +++ b/lib/src/widgets/common/error/unknown_error.dart @@ -44,7 +44,7 @@ class UnknownErrorWidget extends StatelessWidget { width: MediaQuery.of(context).size.width * 0.5, ), SizedBox( - height: 50, + height: 30, ) ], if (showErrorTitle) ...[ @@ -69,7 +69,7 @@ class UnknownErrorWidget extends StatelessWidget { ), ), SizedBox( - height: 100, + height: 40, ) ], Row( @@ -108,13 +108,16 @@ class UnknownErrorWidget extends StatelessWidget { height: 30, ), if (message != null) - Text( - message ?? '', - style: messageStyle ?? - TextStyle( - color: Colors.grey.shade600, - fontSize: 10, - ), + Padding( + padding: const EdgeInsets.only(left: 10), + child: Text( + message ?? '', + style: messageStyle ?? + TextStyle( + color: Colors.grey.shade600, + fontSize: 12, + ), + ), ), ], ),