UserProfile constructor

const UserProfile({
  1. Key? key,
  2. required String userName,
  3. String? userEmail,
  4. String? avatarUrl,
  5. VoidCallback? onProfileTap,
  6. VoidCallback? onLogout,
  7. bool showFullProfile = true,
})

Implementation

const UserProfile({
  super.key,
  required this.userName,
  this.userEmail,
  this.avatarUrl,
  this.onProfileTap,
  this.onLogout,
  this.showFullProfile = true,
});