feat(legal): in-app Privacy & rules screen with plain-words summaries and links to the full documents
This commit is contained in:
parent
9668e0e70b
commit
a7e10eba7a
5 changed files with 180 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
|
|
@ -68,6 +69,13 @@ class AboutScreen extends StatelessWidget {
|
|||
mode: LaunchMode.externalApplication,
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.privacy_tip_outlined, color: seedGreen),
|
||||
title: Text(t.legal.title),
|
||||
subtitle: Text(t.legal.subtitle),
|
||||
trailing: const Icon(Icons.chevron_right),
|
||||
onTap: () => context.push('/legal'),
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.description_outlined, color: seedGreen),
|
||||
title: Text(t.about.openSourceLicenses),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue