33 lines
893 B
Dart
33 lines
893 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ProfileContent extends StatelessWidget {
|
|
const ProfileContent({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: EdgeInsets.all(16),
|
|
child: Center(
|
|
child: Column(
|
|
children: [
|
|
CircleAvatar(
|
|
radius: 50,
|
|
backgroundColor: Colors.blue,
|
|
child: Icon(Icons.person, size: 50, color: Colors.white),
|
|
),
|
|
SizedBox(height: 20),
|
|
Text(
|
|
'Nom d\'utilisateur',
|
|
style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
|
|
),
|
|
SizedBox(height: 10),
|
|
Text('email@example.com'),
|
|
SizedBox(height: 30),
|
|
ElevatedButton(onPressed: () {}, child: Text('Modifier le profil')),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|