TIMUIKitGroupProfile class

Inheritance

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(String userID, 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(String userID, 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

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited