mirrored_repositories/a-cool-app/dump
import 'package:awesome_notifications/awesome_notifications.dart';
import 'package:flutter/material.dart';

class NotificationWeekAndTime {
  final int dayOfTheWeek;
  final TimeOfDay timeOfDay;

  NotificationWeekAndTime(
      {required this.dayOfTheWeek, required this.timeOfDay});
}

@Deprecated("unused")
class NotificationController {
  /// Use this method to detect when a new notification or a schedule is created
  static Future<void> onNotificationCreatedMethod(
      ReceivedNotification receivedNotification) async {
    // Your code goes here
  }

  /// Use this method to detect every time that a new notification is displayed
  static Future<void> onNotificationDisplayedMethod(
      ReceivedNotification receivedNotification) async {
    // Your code goes here
  }

  /// Use this method to detect if the user dismissed a notification
  static Future<void> onDismissActionReceivedMethod(
      ReceivedAction receivedAction) async {
    // Your code goes here
  }

  /// Use this method to detect when the user taps on a notification or action button
  static Future<void> onActionReceivedMethod(
      ReceivedAction receivedAction) async {
    /// Navigate into pages, avoiding to open the notification details page over another details page already opened
    // Global.navigatorKey.currentState?.pushNamedAndRemoveUntil(Routers.pageMain,
    //     (route) => (route.settings.name != Routers.pageMain) || route.isFirst,
    //     arguments: receivedAction);
  }
}
