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,7 +21,8 @@ class _ProfessionalRevisionScreenState
}, },
label: 'Perfil profesional', label: 'Perfil profesional',
), ),
body: Container( body: SingleChildScrollView(
child: Container(
color: Colors.white, color: Colors.white,
child: Padding( child: Padding(
padding: const EdgeInsets.only(top: 40), padding: const EdgeInsets.only(top: 40),
@@ -56,7 +57,8 @@ class _ProfessionalRevisionScreenState
color: Colors.grey.withOpacity(0.5), color: Colors.grey.withOpacity(0.5),
spreadRadius: 2, spreadRadius: 2,
blurRadius: 5, blurRadius: 5,
offset: const Offset(0, 3), // changes position of shadow offset:
const Offset(0, 3), // changes position of shadow
), ),
], ],
), ),
@@ -87,6 +89,7 @@ class _ProfessionalRevisionScreenState
), ),
), ),
), ),
),
)); ));
} }
} }
+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),
], ],
), ),
), ),