feat(legal): in-app Privacy & rules screen with plain-words summaries and links to the full documents

This commit is contained in:
vjrj 2026-07-13 00:48:29 +02:00
parent 9668e0e70b
commit a7e10eba7a
5 changed files with 180 additions and 0 deletions

View file

@ -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),