feat: add info screen explaining tracking and settings

This commit is contained in:
fiatcode 2026-05-02 17:45:36 +07:00
parent ef187fbc73
commit 31180f9921
No known key found for this signature in database
2 changed files with 286 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import 'package:flutter/services.dart';
import 'package:url_launcher/url_launcher.dart';
import 'bridge/location_bridge.dart';
import 'info_screen.dart';
import 'preferences.dart';
class SettingsScreen extends StatefulWidget {
@ -158,6 +159,19 @@ class _SettingsScreenState extends State<SettingsScreen> {
preferredSize: const Size.fromHeight(1),
child: Container(height: 1, color: const Color(0xFF2a2a2a)),
),
actions: [
IconButton(
icon: const Icon(
Icons.help_outline,
color: Color(0xFF9e9e9e),
size: 20,
),
onPressed: () => Navigator.push(
context,
MaterialPageRoute(builder: (_) => const InfoScreen()),
),
),
],
),
body: ListView(
padding: const EdgeInsets.all(20),