FollowComponent constructor
const
FollowComponent(- {Key? key,
- bool isFollow = false,
- dynamic onFollow(
)?,
- required String profileImage,
- required String buttonTitle,
- required dynamic onAction(
),
- required String friendName,
- String? updateButton,
- dynamic onUnFollow(
)?,
- dynamic onProfileTap(
)?}
)
Implementation
const FollowComponent(
{super.key,
this.isFollow = false,
this.onFollow,
required this.profileImage,
required this.buttonTitle,
required this.onAction,
required this.friendName,
this.updateButton,
this.onUnFollow,
this.onProfileTap});