-
Notifications
You must be signed in to change notification settings - Fork 12
/
report_news.dart
27 lines (26 loc) · 1 KB
/
report_news.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Project imports:
import 'package:flutter/material.dart';
import 'package:notredame/core/models/report_news.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
List<ReportNews> getLocalizedReportNewsItems(BuildContext context) {
return [
ReportNews(
title: AppIntl.of(context)!.report_inappropriate_content,
description:
AppIntl.of(context)!.report_inappropriate_content_description,
category: "1"),
ReportNews(
title: AppIntl.of(context)!.report_false_information,
description: AppIntl.of(context)!.report_false_information_description,
category: "2"),
ReportNews(
title: AppIntl.of(context)!.report_harassment_or_abuse,
description:
AppIntl.of(context)!.report_harassment_or_abuse_description,
category: "3"),
ReportNews(
title: AppIntl.of(context)!.report_outdated_content,
description: AppIntl.of(context)!.report_outdated_content_description,
category: "4"),
];
}