Settings: open dedicated pages instead of dialogs

Node Name, Radio Settings, Location, Contact Settings, Privacy and About
now open pages laid out like App Settings. Settings stored on the radio
are sent only on Save, with a warning when leaving unsaved changes.

- Shared SaveToRadioPage / UnsavedChangesGuard / MeshInfoCard
- Node Name byte counter, Location map picker, About links
- Export Data refresh; Settings text and title consistency
- Radio Settings docs corrected against code and firmware
- design.md: settings pages, Save rules, text and app bar rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
celsoazevedoandClaude Opus 5.5 committed 2026-11-23 21:21:18 +00:00
1 parent 945b82437f
commit fc7bbe9e02
66 files changed
+7011 -3749

No files matched your search

+10 -1
View File
@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import '../theme/theme_icons.dart';
/// Title style of settings rows: [MeshNavTile] and, through
/// [MeshSettingsTileTheme], stock [ListTile]s and [SwitchListTile]s.
TextStyle? meshTileTitleStyle(ThemeData theme) =>
@@ -32,6 +34,10 @@ class MeshSettingsTileTheme extends StatelessWidget {
/// looks identical to one that can.
class MeshNavTile extends StatelessWidget {
final IconData icon;
/// Theme icon to show instead of [icon], so the row follows the user's
/// theme like the contact list does.
final ThemeIconSlot? iconSlot;
final String title;
final String? subtitle;
final VoidCallback? onTap;
@@ -45,6 +51,7 @@ class MeshNavTile extends StatelessWidget {
const MeshNavTile({
super.key,
required this.icon,
this.iconSlot,
required this.title,
this.subtitle,
this.onTap,
@@ -66,7 +73,9 @@ class MeshNavTile extends StatelessWidget {
final row = Row(
children: [
Icon(icon, size: 24, color: effectiveIconColor),
iconSlot == null
? Icon(icon, size: 24, color: effectiveIconColor)
: ThemedIcon(iconSlot!, size: 24, color: effectiveIconColor),
const SizedBox(width: 16),
Expanded(
child: Column(