diff --git a/lib/widgets/alert_message.dart b/lib/widgets/alert_message.dart index 56f3702f..34b661f0 100644 --- a/lib/widgets/alert_message.dart +++ b/lib/widgets/alert_message.dart @@ -21,11 +21,13 @@ class AlertMessage extends StatelessWidget { color: Colors.grey, ), const SizedBox(width: 5.0), - Text( - message, - style: const TextStyle( - fontWeight: FontWeight.w500, - color: Colors.grey, + Flexible( + child: Text( + message, + style: const TextStyle( + fontWeight: FontWeight.w500, + color: Colors.grey, + ), ), ), ],