groupAvatarBuilder property
(Widget Function(BuildContext context, int imageIndex, int itemIndex, Size size, T item)?)
groupAvatarBuilder
final
Builder used by GroupAvatar in ChatsListTile._buildLeading
if leading is null.
Must be provided if leading is null.
Build your individual image widget with it.
The image widgets you provide will then be aggregated by GroupAvatar.
itemIndex
is the position of the item (tile) in the list.
imageIndex
is the avatar's position with the following map.
Implementation
final Widget Function(BuildContext context, int imageIndex, int itemIndex,
Size size, T item)? groupAvatarBuilder;