ProfileHeader constructor
const
ProfileHeader({
- Key? key,
- String? imageSource,
- Color? imgBgColor,
- double avatarRadius = 20,
- String? titleTxt,
- TextStyle? titleTxtStyle,
- String? subTitleTxt,
- TextStyle? subTitleTxtStyle,
- Widget? titleWidget,
- Widget? subTitleWidget,
- bool centerTitle = false,
- EdgeInsetsGeometry? padding,
- 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,
});