36 lines
1.0 KiB
Dart
36 lines
1.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'custom_list_tile.dart';
|
|
import '../../../../core/constants/colors.dart';
|
|
|
|
class EditOptionsCard extends StatelessWidget {
|
|
const EditOptionsCard({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Card(
|
|
color: AppColors.cardColor,
|
|
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)),
|
|
elevation: 2,
|
|
child: Column(
|
|
children: [
|
|
CustomListTile(
|
|
icon: Icons.edit,
|
|
label: 'Éditer le profil',
|
|
onTap: () => print("[LOG] Édition du profil."),
|
|
),
|
|
CustomListTile(
|
|
icon: Icons.camera_alt,
|
|
label: 'Changer la photo de profil',
|
|
onTap: () => print("[LOG] Changement de la photo de profil."),
|
|
),
|
|
CustomListTile(
|
|
icon: Icons.lock,
|
|
label: 'Changer le mot de passe',
|
|
onTap: () => print("[LOG] Changement du mot de passe."),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|