NotificationWidget constructor
NotificationWidget({
- Key? key,
- Icon noNotificationIcon = const Icon(Icons.notifications),
- Icon hasNotificationIcon = const Icon(Icons.notifications_active),
- IConverter converter = const HTMLtoMarkDownConverter(),
- Duration queryInterval = const Duration(minutes: 10),
- required AFeedParsingService feedProvider,
- 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);
}