TIMUIKitGroupProfile class
Constructors
-
TIMUIKitGroupProfile({Key? key, required String groupID, Color? backGroundColor, @Deprecated("[operationListBuilder] and [bottomOperationBuilder] merged into [builder], please use it instead") Widget bottomOperationBuilder(BuildContext context, V2TimGroupInfo groupInfo, List<V2TimGroupMemberFullInfo?> groupMemberList)?, @Deprecated("[operationListBuilder] and [bottomOperationBuilder] merged into [builder], please use it instead") Widget operationListBuilder(BuildContext context, V2TimGroupInfo groupInfo, List<V2TimGroupMemberFullInfo?> groupMemberList)?, GroupProfileBuilder? builder, GroupProfileWidgetBuilder? profileWidgetBuilder, dynamic onClickUser(V2TimGroupMemberFullInfo groupMemberFullInfo, TapDownDetails? tapDetails)?, List<GroupProfileWidgetEnum>? profileWidgetsOrder, GroupProfileLifeCycle? lifeCycle})
-
const
Properties
-
backGroundColor
→ Color?
-
final
-
bottomOperationBuilder
→ Widget Function(BuildContext context, V2TimGroupInfo groupInfo, List<V2TimGroupMemberFullInfo?> groupMemberList)?
-
Deprecated:
The builder for custom bottom operation area.
operationListBuilder and bottomOperationBuilder merged into builder, please use it instead.
final
-
builder
→ GroupProfileBuilder?
-
The builder for the whole group profile page, you can use this to customize all the element here.
Mentioned: If you use this builder, profileWidgetBuilder and profileWidgetsOrder will no longer works.
final
-
groupID
→ String
-
Group ID
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
lifeCycle
→ GroupProfileLifeCycle?
-
The life cycle hooks for group profile business logic.
You have better to implement the
didLeaveGroup
in it.
final
-
onClickUser
→ dynamic Function(V2TimGroupMemberFullInfo groupMemberFullInfo, TapDownDetails? tapDetails)?
-
The callback after user clicking a user,
you may navigating to the specific profile page, or anywhere you want.
final
-
operationListBuilder
→ Widget Function(BuildContext context, V2TimGroupInfo groupInfo, List<V2TimGroupMemberFullInfo?> groupMemberList)?
-
Deprecated:
The builder for custom bottom operation area.
operationListBuilder and bottomOperationBuilder merged into builder, please use it instead.
final
-
profileWidgetBuilder
→ GroupProfileWidgetBuilder?
-
[If you tend to customize the profile page, use profileWidgetBuilder with profileWidgetsOrder as priority.]
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.
final
-
profileWidgetsOrder
→ List<GroupProfileWidgetEnum>?
-
[If you tend to customize the profile page, use profileWidgetBuilder with profileWidgetsOrder as priority.]
If the default widget order can not meet you needs,
you may change the order by this array with widget enum.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited