NiceProfileHeader constructor

const NiceProfileHeader({
  1. Key? key,
  2. required String name,
  3. String? subtitle,
  4. String? avatarUrl,
  5. String? coverUrl,
  6. double coverHeight = 150,
  7. VoidCallback? onAvatarTap,
  8. VoidCallback? onCoverTap,
  9. List<Widget>? actions,
  10. bool showVerifiedBadge = false,
  11. Widget? trailing,
})

Implementation

const NiceProfileHeader({
  super.key,
  required this.name,
  this.subtitle,
  this.avatarUrl,
  this.coverUrl,
  this.coverHeight = 150,
  this.onAvatarTap,
  this.onCoverTap,
  this.actions,
  this.showVerifiedBadge = false,
  this.trailing,
});