Register_Verify - made the text flexible instead of hardcoded

This commit is contained in:
Matthew Patrick 2022-04-26 15:27:59 +07:00
parent fdf89795fe
commit 17c129cd67

View file

@ -61,13 +61,15 @@ class RegisterVerifyState extends State<RegisterVerify> {
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: const [ children: const [
Text( Flexible(
"Before proceeding,\n please check your email\n for a verification link to verify \nyour email address.", child: Text(
textAlign: TextAlign.center, "Before proceeding, please check your email for a verification link to verify your email address.",
style: TextStyle( textAlign: TextAlign.center,
color: Colors.white, style: TextStyle(
fontWeight: FontWeight.w600, color: Colors.white,
fontSize: 20), fontWeight: FontWeight.w600,
fontSize: 20),
),
), ),
], ],
) )