diff --git a/lib/src/presentation/screens/professional_revision.dart b/lib/src/presentation/screens/professional_revision.dart index b24b823..9bd2f11 100644 --- a/lib/src/presentation/screens/professional_revision.dart +++ b/lib/src/presentation/screens/professional_revision.dart @@ -21,69 +21,72 @@ class _ProfessionalRevisionScreenState }, label: 'Perfil profesional', ), - body: Container( - color: Colors.white, - child: Padding( - padding: const EdgeInsets.only(top: 40), - child: Column( - children: [ - const Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Icon( - Icons.access_time, - color: Color(0xFF2BA4EC), - ), - SizedBox(width: 8), - Text('Información en revisión.', - style: TextStyle( - color: Color(0xFF2BA4EC), - fontSize: 17, - fontWeight: FontWeight.w500)), - ], - ), - const Image( - image: AssetImage('images/checklist.gif'), - width: 300, - ), - Container( - margin: const EdgeInsets.symmetric(horizontal: 40), - decoration: BoxDecoration( - color: const Color(0xFFD6F4FF), - borderRadius: BorderRadius.circular(30), - boxShadow: [ - BoxShadow( - color: Colors.grey.withOpacity(0.5), - spreadRadius: 2, - blurRadius: 5, - offset: const Offset(0, 3), // changes position of shadow + body: SingleChildScrollView( + child: Container( + color: Colors.white, + child: Padding( + padding: const EdgeInsets.only(top: 40), + child: Column( + children: [ + const Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon( + Icons.access_time, + color: Color(0xFF2BA4EC), ), + SizedBox(width: 8), + Text('Información en revisión.', + style: TextStyle( + color: Color(0xFF2BA4EC), + fontSize: 17, + fontWeight: FontWeight.w500)), ], ), - padding: - const EdgeInsets.symmetric(vertical: 15, horizontal: 25), - child: const Wrap( - alignment: WrapAlignment.start, // Centra el contenido - children: [ - SizedBox( - width: 350, - child: Row( - children: [ - Expanded( - child: Text( - 'Gracias por proporcionar tu información. Actualmente, estamos revisando tus datos y una vez aprobados, podrás acceder al perfil profesional sin problemas. Te notificaremos tan pronto como tu cuenta esté lista. ¡Gracias por tu paciencia!', - style: TextStyle( - fontSize: 14, + const Image( + image: AssetImage('images/checklist.gif'), + width: 300, + ), + Container( + margin: const EdgeInsets.symmetric(horizontal: 40), + decoration: BoxDecoration( + color: const Color(0xFFD6F4FF), + borderRadius: BorderRadius.circular(30), + boxShadow: [ + BoxShadow( + color: Colors.grey.withOpacity(0.5), + spreadRadius: 2, + blurRadius: 5, + offset: + const Offset(0, 3), // changes position of shadow + ), + ], + ), + padding: + const EdgeInsets.symmetric(vertical: 15, horizontal: 25), + child: const Wrap( + alignment: WrapAlignment.start, // Centra el contenido + children: [ + SizedBox( + width: 350, + child: Row( + children: [ + Expanded( + child: Text( + 'Gracias por proporcionar tu información. Actualmente, estamos revisando tus datos y una vez aprobados, podrás acceder al perfil profesional sin problemas. Te notificaremos tan pronto como tu cuenta esté lista. ¡Gracias por tu paciencia!', + style: TextStyle( + fontSize: 14, + ), ), ), - ), - ], + ], + ), ), - ), - ], + ], + ), ), - ), - ], + ], + ), ), ), ), diff --git a/lib/src/presentation/screens/request_sent.dart b/lib/src/presentation/screens/request_sent.dart index 6b366b8..ddb9e12 100644 --- a/lib/src/presentation/screens/request_sent.dart +++ b/lib/src/presentation/screens/request_sent.dart @@ -19,21 +19,24 @@ class RequestSentScreen extends StatelessWidget { child: Column( children: [ const Padding( - padding: EdgeInsets.only(top: 90, bottom: 40), + padding: EdgeInsets.only(top: 30, bottom: 30), child: Icon( Icons.check_circle_outline, - size: 50, + size: 35, color: Color(0xFF35A8ED), ), ), const Padding( - padding: EdgeInsets.only(bottom: 0), - child: Text('Información enviada con éxito.', - style: TextStyle(color: Color(0xFF2BA4EC), fontSize: 20)), + padding: EdgeInsets.only(bottom: 0, left: 30, right: 30), + child: Text( + 'Información enviada con éxito.', + textAlign: TextAlign.center, + style: TextStyle(color: Color(0xFF2BA4EC), fontSize: 20), + ), ), Container( margin: const EdgeInsets.only( - left: 40, right: 40, top: 50, bottom: 180), + left: 40, right: 40, top: 50, bottom: 100), padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 15), decoration: BoxDecoration( @@ -62,12 +65,14 @@ class RequestSentScreen extends StatelessWidget { ), ), ), + const Expanded(child: SizedBox()), PrimaryButtom( onPressed: () { Navigator.pushReplacementNamed(context, '/servicio'); }, label: 'Inicio', ), + const SizedBox(height: 20), ], ), ),