chat primera face

This commit is contained in:
Juan Felipe Duarte
2023-05-03 17:07:26 -05:00
parent f1571e6374
commit 1a0e33328e
16 changed files with 785 additions and 95 deletions
+8 -1
View File
@@ -112,7 +112,14 @@ class _DrawerProfessionalState extends State<DrawerProfessional> {
child: Column(
children: [
ListTile(
onTap: () {},
onTap: () {
if (ModalRoute.of(context)?.settings.name !=
'/misserviciospro') {
Navigator.pushNamed(context, '/misserviciospro');
} else {
Scaffold.of(context).openEndDrawer();
}
},
leading: const Icon(
Icons.history,
color: Colors.black,