- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
19 lines
565 B
Dart
19 lines
565 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'fileUtils.dart';
|
|
import 'generated/i18n.dart';
|
|
import 'markdownPage.dart';
|
|
|
|
class PrivacyPage extends MarkdownPage {
|
|
|
|
PrivacyPage(BuildContext context, {super.key})
|
|
: super(
|
|
title: S.of(context).privacyPolicy,
|
|
route: routeName,
|
|
file: getFileNameOfLang(
|
|
dir: 'assets/pages',
|
|
fileName: 'privacy',
|
|
ext: 'md',
|
|
lang: Localizations.localeOf(context).languageCode));
|
|
static const String routeName = '/privacy';
|
|
}
|