ProfileHeader constructor

const ProfileHeader({
  1. Key? key,
  2. String? imageSource,
  3. Color? imgBgColor,
  4. double avatarRadius = 20,
  5. String? titleTxt,
  6. TextStyle? titleTxtStyle,
  7. String? subTitleTxt,
  8. TextStyle? subTitleTxtStyle,
  9. Widget? titleWidget,
  10. Widget? subTitleWidget,
  11. bool centerTitle = false,
  12. EdgeInsetsGeometry? padding,
  13. Color textColor = Colors.white,
})

Implementation

const ProfileHeader({
  super.key,
  this.imageSource,
  this.imgBgColor,
  this.avatarRadius = 20,
  this.titleTxt,
  this.titleTxtStyle,
  this.subTitleTxt,
  this.subTitleTxtStyle,
  this.titleWidget,
  this.subTitleWidget,
  this.centerTitle = false,
  this.padding,
  this.textColor = Colors.white,
});