From 17c129cd67f5507440e9e1a7338423f2f12cdef5 Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Tue, 26 Apr 2022 15:27:59 +0700 Subject: [PATCH] Register_Verify - made the text flexible instead of hardcoded --- lib/components/register_verify.dart | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/components/register_verify.dart b/lib/components/register_verify.dart index 6350f97..f7ae844 100644 --- a/lib/components/register_verify.dart +++ b/lib/components/register_verify.dart @@ -61,13 +61,15 @@ class RegisterVerifyState extends State { Row( mainAxisAlignment: MainAxisAlignment.center, children: const [ - Text( - "Before proceeding,\n please check your email\n for a verification link to verify \nyour email address.", - textAlign: TextAlign.center, - style: TextStyle( - color: Colors.white, - fontWeight: FontWeight.w600, - fontSize: 20), + Flexible( + child: Text( + "Before proceeding, please check your email for a verification link to verify your email address.", + textAlign: TextAlign.center, + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.w600, + fontSize: 20), + ), ), ], )