diff --git a/lib/src/screens/support.dart b/lib/src/screens/support.dart index cadd749..330242b 100644 --- a/lib/src/screens/support.dart +++ b/lib/src/screens/support.dart @@ -27,6 +27,16 @@ class SsupportStateScreen extends State { } } + Future _irSugerencias() async { + const url = + 'https://admin.prosapp.co/sugerencias '; // Aquí debes poner la URL a la que quieres dirigirte + if (await canLaunch(url)) { + await launch(url); + } else { + throw 'No se pudo abrir la URL $url'; + } + } + Future _sendEmail(String recipients) async { final Email email = Email( body: body, @@ -156,6 +166,27 @@ class SsupportStateScreen extends State { ], ), ), + Padding( + padding: const EdgeInsets.only(bottom: 15), + child: ElevatedButton( + onPressed: _irSugerencias, + style: ElevatedButton.styleFrom( + padding: + const EdgeInsets.symmetric(vertical: 15, horizontal: 15), + backgroundColor: + const Color(0xFF2BA4EC), // Color de fondo del botón + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(15), // Bordes redondeados + ), + ), + child: const Text( + 'Sugerencias', + style: TextStyle( + fontSize: 16, + ), + ), + ), + ) ], ), );