GroupMemberListView class
The group member list view. This widget is used to display the list of group members.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- GroupMemberListView
Constructors
-
GroupMemberListView({required String groupId, GroupMemberListViewController? controller, ChatUIKitContactItemBuilder? itemBuilder, List<
Widget> ? beforeWidgets, List<Widget> ? afterWidgets, void onSearchTap(List<ContactItemModel> data)?, String? searchBarHideText, Widget? emptyBackground, String? errorMessage, String? reloadMessage, void onTap(BuildContext context, ContactItemModel model)?, void onLongPress(BuildContext context, ContactItemModel model)?, bool enableSearchBar = true, void onSelectLetterChanged(BuildContext context, String? letter)?, String? sortAlphabetical, String universalAlphabeticalLetter = '#', bool enableSorting = true, bool showAlphabeticalIndicator = true, Key? key}) -
const
Properties
-
afterWidgets
→ List<
Widget> ? -
The widget list displayed after the list.
final
-
beforeWidgets
→ List<
Widget> ? -
The widget list displayed before the list.
final
- controller → GroupMemberListViewController?
-
The controller of the list.
final
- emptyBackground → Widget?
-
The widget displayed when the list is empty.
final
- enableSearchBar → bool
-
Whether to enable the search bar, the default is true.
final
- enableSorting → bool
-
Whether to enable sorting, the default is true.
final
- errorMessage → String?
-
The error message displayed when the list fails to load.
final
- groupId → String
-
The group ID of the group member list.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemBuilder → ChatUIKitContactItemBuilder?
-
The builder of the list item.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onLongPress → void Function(BuildContext context, ContactItemModel model)?
-
Callback when the list item is long pressed.
final
-
onSearchTap
→ void Function(List<
ContactItemModel> data)? -
Callback when the search bar is clicked, the parameter is the search data source list.
final
- onSelectLetterChanged → void Function(BuildContext context, String? letter)?
-
Callback when the letter is selected.
final
- onTap → void Function(BuildContext context, ContactItemModel model)?
-
Callback when the list item is clicked.
final
- reloadMessage → String?
-
The message displayed when the list fails to load.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBarHideText → String?
-
The text displayed when the search bar is hidden.
final
- showAlphabeticalIndicator → bool
-
Whether to display the alphabetical indicator, the default is true.
final
- sortAlphabetical → String?
-
The alphabetical order of the list, the default is 'A-Z'.
final
- universalAlphabeticalLetter → String
-
The special alphabetical letter. The default is '#'.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< GroupMemberListView> -
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, int wrapWidth = 65}) → 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