SliverProfileHeader constructor

SliverProfileHeader({
  1. required String title,
  2. required String imageCoverUrl,
  3. Uint8List? imageCoverBytes,
  4. String? imageCoverHeroTag,
  5. required String imageProfileUrl,
  6. Uint8List? imageProfileBytes,
  7. String? imageProfileHeroTag,
  8. VoidCallback? onBackTap,
  9. VoidCallback? onSearchTap,
  10. VoidCallback? onMoreTap,
  11. VoidCallback? onProfileImageTap,
  12. VoidCallback? onCoverImageTap,
})

Implementation

SliverProfileHeader({
  required this.title,
  required this.imageCoverUrl,
  this.imageCoverBytes,
  this.imageCoverHeroTag,
  required this.imageProfileUrl,
  this.imageProfileBytes,
  this.imageProfileHeroTag,
  this.onBackTap,
  this.onSearchTap,
  this.onMoreTap,
  this.onProfileImageTap,
  this.onCoverImageTap,
});