Markdown. Privacy Policies. Injection dep updated
This commit is contained in:
parent
8301e6a40e
commit
f0ab472b3a
21 changed files with 487 additions and 25 deletions
18
lib/privacyPage.dart
Normal file
18
lib/privacyPage.dart
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'fileUtils.dart';
|
||||
import 'generated/i18n.dart';
|
||||
import 'markdownPage.dart';
|
||||
|
||||
class PrivacyPage extends MarkdownPage {
|
||||
static const String routeName = '/privacy';
|
||||
|
||||
PrivacyPage(context)
|
||||
: super(
|
||||
title: S.of(context).privacyPolicy,
|
||||
file: getFileNameOfLang(
|
||||
dir: 'assets/pages',
|
||||
fileName: 'privacy',
|
||||
ext: 'md',
|
||||
lang: Localizations.localeOf(context).languageCode));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue