notification removed

This commit is contained in:
venbaittech 2025-12-26 17:38:47 +05:30
parent c85ca32ba7
commit 4d54fd12fa
2 changed files with 27 additions and 25 deletions

File diff suppressed because one or more lines are too long

View File

@ -426,29 +426,29 @@ class _AppHeaderState extends ConsumerState<AppHeader> {
const SizedBox(width: 12),
],
// Notifications button
Container(
width: 36,
height: 36,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(8),
border: Border.all(color: Colors.grey.shade200, width: 1),
),
child: IconButton(
padding: EdgeInsets.zero,
icon: const Icon(
Icons.notifications_none,
color: Colors.black87,
size: 20,
),
onPressed: () {
debugPrint("Notifications tapped");
},
tooltip: 'Notifications',
),
),
const SizedBox(width: 12),
// Container(
// width: 36,
// height: 36,
// decoration: BoxDecoration(
// color: Colors.white,
// borderRadius: BorderRadius.circular(8),
// border: Border.all(color: Colors.grey.shade200, width: 1),
// ),
// child: IconButton(
// padding: EdgeInsets.zero,
// icon: const Icon(
// Icons.notifications_none,
// color: Colors.black87,
// size: 20,
// ),
// onPressed: () {
// debugPrint("Notifications tapped");
// },
// tooltip: 'Notifications',
// ),
// ),
//
// const SizedBox(width: 12),
// Profile with popup
PopupMenuButton<String>(
@ -626,7 +626,9 @@ class _AppHeaderState extends ConsumerState<AppHeader> {
onExit: (event) {
// We check if the mouse is moving downwards (toward the popup)
// If not moving toward popup, hide it.
if (event.localPosition.dy < 0 || event.localPosition.dx < 0 || event.localPosition.dx > 100) {
if (event.localPosition.dy < 0 ||
event.localPosition.dx < 0 ||
event.localPosition.dx > 100) {
_hidePopup();
}
},