Add profile in parameters, initialized page map, group, count.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'settings_theme_content.dart';
|
||||
import '../profile/profile_content.dart';
|
||||
|
||||
class SettingsContent extends StatelessWidget {
|
||||
const SettingsContent({super.key});
|
||||
@@ -15,6 +16,22 @@ class SettingsContent extends StatelessWidget {
|
||||
),
|
||||
SizedBox(height: 20),
|
||||
|
||||
// Section Profil intégrée
|
||||
ProfileContent(),
|
||||
|
||||
SizedBox(height: 20),
|
||||
|
||||
// Autres paramètres
|
||||
Text(
|
||||
'Préférences',
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: Colors.grey[600],
|
||||
),
|
||||
),
|
||||
SizedBox(height: 8),
|
||||
|
||||
ListTile(
|
||||
leading: Icon(Icons.palette),
|
||||
title: Text('Thème'),
|
||||
@@ -28,13 +45,6 @@ class SettingsContent extends StatelessWidget {
|
||||
},
|
||||
),
|
||||
|
||||
ListTile(
|
||||
leading: Icon(Icons.person),
|
||||
title: Text('Profil'),
|
||||
trailing: Icon(Icons.arrow_forward_ios),
|
||||
onTap: () {},
|
||||
),
|
||||
|
||||
ListTile(
|
||||
leading: Icon(Icons.notifications),
|
||||
title: Text('Notifications'),
|
||||
|
||||
Reference in New Issue
Block a user