Files
TravelMate/lib/components/profile/profile_content.dart
Van Leemput Dayron 807b66f919 First commit
2025-09-30 15:53:48 +02:00

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')),
],
),
),
);
}
}