This commit is contained in:
Juan Felipe Duarte
2023-04-03 09:24:49 -05:00
parent f74da665a8
commit 210b479cde
5 changed files with 230 additions and 2 deletions
+9 -2
View File
@@ -307,10 +307,17 @@ class _ProfileScreenState extends State<ProfileScreen> {
20.0), // Agrega espacio vertical entre los TextFormFields
TextFormField(
controller: controller.city,
readOnly: true,
onTap: () {
Navigator.pushNamed(context, '/city');
},
decoration: InputDecoration(
prefixIcon: Icon(Icons.near_me),
hintText: 'Ciudad'),
prefixIcon: Icon(Icons.near_me),
suffixIcon: Icon(Icons.arrow_drop_down),
hintText: 'Ciudad',
),
),
SizedBox(
height:
20.0), // Agrega espacio vertical entre los TextFormFields