From 4ff880e079c3777c34a9098788a357ed33005284 Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Thu, 29 Jan 2026 15:42:02 +0300 Subject: [PATCH] feat: add register via social screen --- .../pages/register_via_social_screen.dart | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/features/auth/presentation/pages/register_via_social_screen.dart b/lib/features/auth/presentation/pages/register_via_social_screen.dart index 4967930e..5ee5233a 100644 --- a/lib/features/auth/presentation/pages/register_via_social_screen.dart +++ b/lib/features/auth/presentation/pages/register_via_social_screen.dart @@ -330,6 +330,25 @@ class _RegisterViaSocialScreenState extends State { Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ + SizedBox( + width: MediaQuery.of(context).size.width / 2 - 22, + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + const Text('Рост'), + const SizedBox(height: 4), + CustomTextFormField( + controller: heightController, + hintText: 'Введите рост', + keyboardType: TextInputType.number, + onChanged: (newValue) {}, + hasError: heightError, + ), + if (heightError) ...[const SizedBox(height: 4), const ValidationErrorWidget(error: 'Рост должен быть от 100 до 250 см')], + ], + ), + ), + const SizedBox(width: 12), SizedBox( width: MediaQuery.of(context).size.width / 2 - 22, child: Column( @@ -349,25 +368,6 @@ class _RegisterViaSocialScreenState extends State { ], ), ), - const SizedBox(width: 12), - SizedBox( - width: MediaQuery.of(context).size.width / 2 - 22, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Рост'), - const SizedBox(height: 4), - CustomTextFormField( - controller: heightController, - hintText: 'Введите рост', - keyboardType: TextInputType.number, - onChanged: (newValue) {}, - hasError: heightError, - ), - if (heightError) ...[const SizedBox(height: 4), const ValidationErrorWidget(error: 'Рост должен быть от 100 до 250 см')], - ], - ), - ), ], ), const SizedBox(height: 28),