51 lines
1.5 KiB
Dart
51 lines
1.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
|
|
class SettingsPage extends StatelessWidget {
|
|
const SettingsPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('Settings'),
|
|
leading: IconButton(
|
|
icon: const Icon(Icons.arrow_back),
|
|
onPressed: () => context.go('/'),
|
|
),
|
|
),
|
|
body: ListView(
|
|
children: [
|
|
ListTile(
|
|
leading: const Icon(Icons.brightness_6),
|
|
title: const Text('Theme'),
|
|
subtitle: const Text('Change app theme'),
|
|
trailing: const Icon(Icons.chevron_right),
|
|
onTap: () {
|
|
// Theme settings functionality
|
|
},
|
|
),
|
|
ListTile(
|
|
leading: const Icon(Icons.bluetooth),
|
|
title: const Text('Bluetooth Settings'),
|
|
subtitle: const Text('Configure Bluetooth connections'),
|
|
trailing: const Icon(Icons.chevron_right),
|
|
onTap: () {
|
|
// Bluetooth settings functionality
|
|
},
|
|
),
|
|
ListTile(
|
|
leading: const Icon(Icons.info),
|
|
title: const Text('About'),
|
|
subtitle: const Text('App information'),
|
|
trailing: const Icon(Icons.chevron_right),
|
|
onTap: () {
|
|
// About screen functionality
|
|
},
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|