From bcc4ba98ff06119238e96b0c877d84f8af533440 Mon Sep 17 00:00:00 2001 From: mohammad Date: Sun, 19 Jan 2025 16:56:42 +0300 Subject: [PATCH] size changes --- lib/features/auth/view/sign_up_view.dart | 38 +++++++++++------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/lib/features/auth/view/sign_up_view.dart b/lib/features/auth/view/sign_up_view.dart index 6d92754..567b0ea 100644 --- a/lib/features/auth/view/sign_up_view.dart +++ b/lib/features/auth/view/sign_up_view.dart @@ -213,10 +213,9 @@ class SignUpView extends StatelessWidget { text: 'By signing up you agree to our ', style: const TextStyle( - color: Colors - .white, // White text color - fontSize: - 14, // Adjust font size to match the design + color: Colors.white, + fontSize: 14, + fontWeight: FontWeight.w400, ), children: [ WidgetSpan( @@ -231,14 +230,13 @@ class SignUpView extends StatelessWidget { child: const Text( 'Terms & Conditions', style: TextStyle( - color: Colors - .white, // Text color - fontWeight: FontWeight - .bold, // Bold text + fontSize: 16, + color: Colors.white, + fontWeight: FontWeight.w400, decoration: TextDecoration - .underline, // Underline the text - decorationColor: Colors - .white, // Set the underline color to white + .underline, + decorationColor: + Colors.white, ), ), ), @@ -246,6 +244,8 @@ class SignUpView extends StatelessWidget { const TextSpan( text: ' and ', style: TextStyle( + fontWeight: FontWeight.w400, + fontSize: 16, color: Colors.white), ), WidgetSpan( @@ -260,22 +260,20 @@ class SignUpView extends StatelessWidget { child: const Text( 'Privacy Policy', style: TextStyle( - color: Colors - .white, // Text color - fontWeight: FontWeight - .bold, // Bold text + fontSize: 16, + color: Colors.white, + fontWeight: FontWeight.w400, decoration: TextDecoration - .underline, // Underline the text - decorationColor: Colors - .white, // Set the underline color to white + .underline, + decorationColor: + Colors.white, ), ), ), ), ], ), - textAlign: TextAlign - .center, // Center align the text + textAlign: TextAlign.center, ), ), ),