NiceNotificationPreferences constructor

const NiceNotificationPreferences({
  1. Key? key,
  2. required Map<NotificationCategory, NotificationPreference> preferences,
  3. ValueChanged<Map<NotificationCategory, NotificationPreference>>? onChanged,
  4. List<NotificationChannel> availableChannels = NotificationChannel.values,
  5. bool showSeverity = true,
})

Implementation

const NiceNotificationPreferences({
  super.key,
  required this.preferences,
  this.onChanged,
  this.availableChannels = NotificationChannel.values,
  this.showSeverity = true,
});