pagina muy grande

This commit is contained in:
Felipe
2023-11-16 07:39:45 -05:00
parent a4f631497d
commit 60655ba96e
2 changed files with 70 additions and 62 deletions
@@ -21,69 +21,72 @@ class _ProfessionalRevisionScreenState
}, },
label: 'Perfil profesional', label: 'Perfil profesional',
), ),
body: Container( body: SingleChildScrollView(
color: Colors.white, child: Container(
child: Padding( color: Colors.white,
padding: const EdgeInsets.only(top: 40), child: Padding(
child: Column( padding: const EdgeInsets.only(top: 40),
children: [ child: Column(
const Row( children: [
mainAxisAlignment: MainAxisAlignment.center, const Row(
children: [ mainAxisAlignment: MainAxisAlignment.center,
Icon( children: [
Icons.access_time, Icon(
color: Color(0xFF2BA4EC), 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
), ),
SizedBox(width: 8),
Text('Información en revisión.',
style: TextStyle(
color: Color(0xFF2BA4EC),
fontSize: 17,
fontWeight: FontWeight.w500)),
], ],
), ),
padding: const Image(
const EdgeInsets.symmetric(vertical: 15, horizontal: 25), image: AssetImage('images/checklist.gif'),
child: const Wrap( width: 300,
alignment: WrapAlignment.start, // Centra el contenido ),
children: [ Container(
SizedBox( margin: const EdgeInsets.symmetric(horizontal: 40),
width: 350, decoration: BoxDecoration(
child: Row( color: const Color(0xFFD6F4FF),
children: [ borderRadius: BorderRadius.circular(30),
Expanded( boxShadow: [
child: Text( BoxShadow(
'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!', color: Colors.grey.withOpacity(0.5),
style: TextStyle( spreadRadius: 2,
fontSize: 14, 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,
),
), ),
), ),
), ],
], ),
), ),
), ],
], ),
), ),
), ],
], ),
), ),
), ),
), ),
+11 -6
View File
@@ -19,21 +19,24 @@ class RequestSentScreen extends StatelessWidget {
child: Column( child: Column(
children: [ children: [
const Padding( const Padding(
padding: EdgeInsets.only(top: 90, bottom: 40), padding: EdgeInsets.only(top: 30, bottom: 30),
child: Icon( child: Icon(
Icons.check_circle_outline, Icons.check_circle_outline,
size: 50, size: 35,
color: Color(0xFF35A8ED), color: Color(0xFF35A8ED),
), ),
), ),
const Padding( const Padding(
padding: EdgeInsets.only(bottom: 0), padding: EdgeInsets.only(bottom: 0, left: 30, right: 30),
child: Text('Información enviada con éxito.', child: Text(
style: TextStyle(color: Color(0xFF2BA4EC), fontSize: 20)), 'Información enviada con éxito.',
textAlign: TextAlign.center,
style: TextStyle(color: Color(0xFF2BA4EC), fontSize: 20),
),
), ),
Container( Container(
margin: const EdgeInsets.only( margin: const EdgeInsets.only(
left: 40, right: 40, top: 50, bottom: 180), left: 40, right: 40, top: 50, bottom: 100),
padding: padding:
const EdgeInsets.symmetric(horizontal: 20, vertical: 15), const EdgeInsets.symmetric(horizontal: 20, vertical: 15),
decoration: BoxDecoration( decoration: BoxDecoration(
@@ -62,12 +65,14 @@ class RequestSentScreen extends StatelessWidget {
), ),
), ),
), ),
const Expanded(child: SizedBox()),
PrimaryButtom( PrimaryButtom(
onPressed: () { onPressed: () {
Navigator.pushReplacementNamed(context, '/servicio'); Navigator.pushReplacementNamed(context, '/servicio');
}, },
label: 'Inicio', label: 'Inicio',
), ),
const SizedBox(height: 20),
], ],
), ),
), ),