import 'package:flutter/material.dart'; import '../../../../l10n/app_localizations.dart'; import '../../../../shared/theme/design_tokens.dart'; import '../widgets/settings_section_widgets.dart'; class SettingsPlaceholderScreen extends StatelessWidget { const SettingsPlaceholderScreen({ super.key, required this.title, required this.value, required this.description, }); final String title; final String value; final String description; @override Widget build(BuildContext context) { final l10n = AppLocalizations.of(context)!; final colors = Theme.of(context).colorScheme; return Scaffold( backgroundColor: colors.surfaceContainerLow, appBar: AppBar( title: Text(title), centerTitle: true, backgroundColor: colors.surfaceContainerLow, surfaceTintColor: colors.surfaceContainerLow, ), body: ListView( padding: const EdgeInsets.all(AppSpacing.lg), children: [ SectionLabel(text: l10n.settingsCurrentValue), SettingsGroupCard( children: [ SettingsMenuTile( icon: Icons.info_outline_rounded, title: title, subtitle: value, tint: colors.primary, background: colors.surfaceContainerHighest, showDivider: false, showChevron: false, onTap: () {}, ), ], ), const SizedBox(height: AppSpacing.lg), Card( margin: EdgeInsets.zero, elevation: 0, color: colors.surface, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(AppRadius.lg), ), child: Padding( padding: const EdgeInsets.all(AppSpacing.lg), child: Text( description, style: Theme.of(context).textTheme.bodyMedium, ), ), ), ], ), ); } }