getContactApplicationItemButtonBuilder method

  1. @override
Widget getContactApplicationItemButtonBuilder(
  1. V2TimFriendApplication application,
  2. ContactApplicationResult? result,
  3. Function? sendApplicationResult
)
override

Implementation

@override
Widget getContactApplicationItemButtonBuilder(
    V2TimFriendApplication application, ContactApplicationResult? result, Function? sendApplicationResult) {
  Widget? widget;
  if (_contactApplicationItemButtonBuilder != null) {
    widget = _contactApplicationItemButtonBuilder!(application, result, sendApplicationResult);
  }
  return widget ??
      TencentCloudChatApplicationItemButton(
          application: application, applicationResult: result, sendApplicationResult: sendApplicationResult);
}