NotificationWidget constructor

NotificationWidget({
  1. Key? key,
  2. Icon noNotificationIcon = const Icon(Icons.notifications),
  3. Icon hasNotificationIcon = const Icon(Icons.notifications_active),
  4. IConverter converter = const HTMLtoMarkDownConverter(),
  5. Duration queryInterval = const Duration(minutes: 10),
  6. required AFeedParsingService feedProvider,
  7. required ICacheWrapper cache,
})

Implementation

NotificationWidget(
    {super.key,
    this.noNotificationIcon = const Icon(Icons.notifications),
    this.hasNotificationIcon = const Icon(Icons.notifications_active),
    this.converter = const HTMLtoMarkDownConverter(),
    this.queryInterval = const Duration(minutes: 10),
    required this.feedProvider,
    required this.cache}) {
  notificationQueryService = NotificationQueryService(
      feedProvider: feedProvider, cache: cache, queryInterval: queryInterval);
}