notificaciones

This commit is contained in:
Juan Felipe Duarte
2023-06-16 10:00:20 -05:00
parent 743fa56fe7
commit f923a8f5bc
9 changed files with 149 additions and 11 deletions
+21
View File
@@ -8,6 +8,7 @@ import 'package:prosappco/src/components/photo_view.dart';
import 'package:prosappco/src/models/scores_model.dart';
import 'package:prosappco/src/models/user_model.dart';
import 'package:prosappco/src/screens/configuracion.dart';
import 'package:prosappco/src/screens/local_notification.dart';
import 'package:prosappco/src/screens/messages_user.dart';
import 'package:prosappco/src/screens/professional_profile_web.dart';
import 'package:prosappco/src/screens/profile.dart';
@@ -232,6 +233,26 @@ class _DrawerMenuState extends State<DrawerMenu> {
style: TextStyle(fontSize: 15),
),
),
ListTile(
onTap: () {
Navigator.push(
context,
CupertinoPageRoute(
builder: (BuildContext context) {
return const LocalNotificationScreen();
},
),
);
},
leading: const Icon(
Icons.notification_add_outlined,
color: Colors.black,
),
title: const Text(
'Notificación',
style: TextStyle(fontSize: 15),
),
),
Builder(builder: (BuildContext context) {
return ListTile(
onTap: () {