reportReasons top-level constant

List<ReportReason> const reportReasons

Predefined list of report reasons.

These are the standard reasons users can select when reporting a comment. The labels are in Italian; they should be localized based on the app's language.

To customize, create your own list with localized labels:

final localizedReasons = [
  ReportReason('spam', localizations.report_reason_spam),
  ReportReason('hate', localizations.report_reason_hate),
  // ...
];

Implementation

const List<ReportReason> reportReasons = [
  ReportReason('spam', 'Spam o contenuto fuorviante'),
  ReportReason('hate', 'Incitamento all\'odio o violenza'),
  ReportReason('harassment', 'Molestie o bullismo'),
];