AddFriendLifeCycle
Introduction
The life cycle hooks for adding friends and contact business logic.
Parameter introduction
shouldAddFriend
Parameter type : Future< bool > Function(String userID, String? remark, String? friendGroup, String? addWording, [BuildContext? context])
Supported Platform: All
- Parameter description : Before requesting to add a user as friend or a contact,
true
means can add continually, whilefalse
will not add. You can make a second confirmation here by a modal, etc.