GroupAvatarWidgetBuilder<T> typedef

GroupAvatarWidgetBuilder<T> = Widget Function(BuildContext context, int imageIndex, Size size, List<T?> items)

Builder called to construct the Image widget. imageIndex is the position of the image inside the GroupAvatar as follows:

index 0 || index 1

index 2 || index 3

Use size to determine the size of the image you should load.

Implementation

typedef GroupAvatarWidgetBuilder<T> = Widget Function(
    BuildContext context, int imageIndex, Size size, List<T?> items);