This commit is contained in:
Felipe
2023-07-31 12:49:47 -05:00
parent 809873894c
commit b0d88fc68a
4 changed files with 26 additions and 34 deletions
-31
View File
@@ -27,16 +27,6 @@ class SsupportStateScreen extends State<SupportScreen> {
}
}
Future<void> _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<void> _sendEmail(String recipients) async {
final Email email = Email(
body: body,
@@ -166,27 +156,6 @@ class SsupportStateScreen extends State<SupportScreen> {
],
),
),
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,
),
),
),
)
],
),
);