import 'package:flutter/material.dart'; import 'settings_theme_content.dart'; class SettingsContent extends StatelessWidget { const SettingsContent({super.key}); @override Widget build(BuildContext context) { return ListView( padding: EdgeInsets.all(16), children: [ Text( 'Paramètres', style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold), ), SizedBox(height: 20), ListTile( leading: Icon(Icons.palette), title: Text('Thème'), subtitle: Text('Clair, sombre ou système'), trailing: Icon(Icons.arrow_forward_ios), onTap: () { Navigator.push( context, MaterialPageRoute(builder: (context) => SettingsThemeContent()), ); }, ), ListTile( leading: Icon(Icons.person), title: Text('Profil'), trailing: Icon(Icons.arrow_forward_ios), onTap: () {}, ), ListTile( leading: Icon(Icons.notifications), title: Text('Notifications'), trailing: Icon(Icons.arrow_forward_ios), onTap: () {}, ), ListTile( leading: Icon(Icons.language), title: Text('Langue'), trailing: Icon(Icons.arrow_forward_ios), onTap: () {}, ), ListTile( leading: Icon(Icons.privacy_tip), title: Text('Confidentialité'), trailing: Icon(Icons.arrow_forward_ios), onTap: () {}, ), ], ); } }