ProfileHeader constructor
const
ProfileHeader({
- Key? key,
- String? name,
- String? bio,
- String? avatarUrl,
- Widget? avatar,
- List<
ProfileStat> stats = const <ProfileStat>[], - VoidCallback? onEdit,
- VoidCallback? onFollow,
- bool followed = false,
- Gradient gradient = AppGradients.brand,
Implementation
const ProfileHeader({
super.key,
this.name,
this.bio,
this.avatarUrl,
this.avatar,
this.stats = const <ProfileStat>[],
this.onEdit,
this.onFollow,
this.followed = false,
this.gradient = AppGradients.brand,
});