2025-08-23 22:42:32 +09:00
|
|
|
import 'package:flutter/material.dart';
|
2025-08-24 20:47:16 +09:00
|
|
|
import '../../config/localization/generated/app_localizations.dart';
|
2025-08-23 22:42:32 +09:00
|
|
|
|
|
|
|
|
class SettingsPage extends StatelessWidget {
|
|
|
|
|
const SettingsPage({super.key});
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
2025-08-24 20:47:16 +09:00
|
|
|
final l10n = AppLocalizations.of(context)!;
|
|
|
|
|
|
2025-08-23 22:42:32 +09:00
|
|
|
return Scaffold(
|
|
|
|
|
appBar: AppBar(
|
2025-08-24 20:47:16 +09:00
|
|
|
title: Text(l10n.settingsTitle),
|
2025-08-23 22:42:32 +09:00
|
|
|
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
|
|
|
|
|
),
|
2025-08-24 20:47:16 +09:00
|
|
|
body: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(16.0),
|
2025-08-23 22:42:32 +09:00
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
2025-08-24 20:47:16 +09:00
|
|
|
l10n.settingsTitle,
|
|
|
|
|
style: const TextStyle(
|
2025-08-23 22:42:32 +09:00
|
|
|
fontSize: 24,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
),
|
2025-08-24 20:47:16 +09:00
|
|
|
const SizedBox(height: 24),
|
2025-08-23 22:42:32 +09:00
|
|
|
Text(
|
2025-08-24 20:47:16 +09:00
|
|
|
l10n.settingsPlaceholder,
|
|
|
|
|
style: const TextStyle(
|
2025-08-23 22:42:32 +09:00
|
|
|
fontSize: 16,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
),
|
2025-08-24 20:47:16 +09:00
|
|
|
const SizedBox(height: 16),
|
2025-08-23 22:42:32 +09:00
|
|
|
Text(
|
2025-08-24 20:47:16 +09:00
|
|
|
l10n.settingsFutureWillInclude,
|
|
|
|
|
style: const TextStyle(
|
2025-08-23 22:42:32 +09:00
|
|
|
fontSize: 16,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
),
|
|
|
|
|
),
|
2025-08-24 20:47:16 +09:00
|
|
|
const SizedBox(height: 8),
|
|
|
|
|
Text(l10n.settingsColorScheme),
|
|
|
|
|
Text(l10n.settingsDefaultArrows),
|
|
|
|
|
Text(l10n.settingsScoreInput),
|
|
|
|
|
Text(l10n.settingsExportOptions),
|
|
|
|
|
Text(l10n.settingsSessionManagement),
|
2025-08-23 22:42:32 +09:00
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|