GroupProfileWidgetBuilder

Introduction

The builder for each widgets in profile page, you can customize some of it by pass your own widget into here. Or, you can add your custom widget to the three custom widgets.

Parameter introduction

detailCard

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, Function(String updateGroupName)? updateGroupName)

  • Supported Platform: All

  • Parameter description : The detail card for group.

memberListTile

  • Parameter type : Widget Function(List< V2TimGroupMemberFullInfo? > memberList)

  • Supported Platform: All

  • Parameter description : The tile shows the members in the group.

groupNotice

  • Parameter type : Widget Function(String currentNotice, Function() toDefaultNoticeEditPage, Function(String newNotice) setGroupNotice)

  • Supported Platform: All

  • Parameter description : The entrance to the page editing the group notice.

groupManage

  • Parameter type : Widget Function(Function() toDefaultGroupManagementPage)

  • Supported Platform: All

  • Parameter description : The entrance to the page managing the group. Works only for group owner and group admin.

searchMessage

  • Parameter type : Widget Function()

  • Supported Platform: All

  • Parameter description : The entrance to the search page with conversation ID.

operationDivider

  • Parameter type : Widget Function()

  • Supported Platform: All

  • Parameter description : The divider between sets of profile widget.

groupTypeBar

  • Parameter type : Widget Function(String groupType)

  • Supported Platform: All

  • Parameter description : Shows the group type, includes "work group", "public group", "meeting group" and "AVChatRoom".

groupJoiningModeBar

  • Parameter type : Widget Function(int GroupAddOptTypeEnum, Function(int addOpt) handleActionTap)

  • Supported Platform: All

  • Parameter description : Shows and modify the mode or options users add the group. Includes "0: disallow group joining", "1: admin approval" and "2: automatic approval".

nameCardBar

  • Parameter type : Widget Function(String nameCard, Function(String newName)

  • Supported Platform: All

  • Parameter description : Shows and modify the nickname for user in a specific group, only shows and used in this group, as the name card here.

muteGroupMessageBar

  • Parameter type : Widget Function(bool isMute, Function(bool isMute) setMute)

  • Supported Platform: All

  • Parameter description : The switch of if mute the message notification from a specific group.

pinedConversationBar

  • Parameter type : Widget Function(bool isPined, Function(bool isMute) pinedConversation)

  • Supported Platform: All

  • Parameter description : The switch of if pin this group to the top in conversation list.

buttonArea

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, List< V2TimGroupMemberFullInfo? > groupMemberList)

  • Supported Platform: All

  • Parameter description : The button area, includes "clear chat history", "transfer group owner", "disband group" and "quit group" as default.

customBuilderOne

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, List< V2TimGroupMemberFullInfo? > groupMemberList)

  • Supported Platform: All

  • Parameter description : Custom area, you may define anything you want here.

customBuilderTwo

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, List< V2TimGroupMemberFullInfo? > groupMemberList)

  • Supported Platform: All

  • Parameter description : Custom area, you may define anything you want here.

customBuilderThree

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, List< V2TimGroupMemberFullInfo? > groupMemberList)

  • Supported Platform: All

  • Parameter description : Custom area, you may define anything you want here.

customBuilderFour

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, List< V2TimGroupMemberFullInfo? > groupMemberList)

  • Supported Platform: All

  • Parameter description : Custom area, you may define anything you want here.

customBuilderFive

  • Parameter type : Widget Function(V2TimGroupInfo groupInfo, List< V2TimGroupMemberFullInfo? > groupMemberList)

  • Supported Platform: All

  • Parameter description : Custom area, you may define anything you want here.

results matching ""

    No results matching ""