UserProfile constructor
const
UserProfile({
- Key? key,
- required String userName,
- String? userEmail,
- String? avatarUrl,
- VoidCallback? onProfileTap,
- VoidCallback? onLogout,
- bool showFullProfile = true,
Implementation
const UserProfile({
super.key,
required this.userName,
this.userEmail,
this.avatarUrl,
this.onProfileTap,
this.onLogout,
this.showFullProfile = true,
});