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',
),
body: Container(
body: SingleChildScrollView(
child: Container(
color: Colors.white,
child: Padding(
padding: const EdgeInsets.only(top: 40),
@@ -56,7 +57,8 @@ class _ProfessionalRevisionScreenState
color: Colors.grey.withOpacity(0.5),
spreadRadius: 2,
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(
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),
],
),
),