Skip to content
On this page

AvatarGroup

A grouped presentation of profile avatars.

AvatarGroup in FluttyUIAvatarGroup in FluttyUI dark theme

Import

import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;

API Reference

The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.

AvatarGroup

const AvatarGroup({
  super.key,
  required this.avatars,
  this.maxVisible = 4,
  this.size,
  this.dimension,
  this.overlap,
  this.borderWidth,
  this.borderColor,
  this.overflowColor,
  this.overflowTextColor,
  this.overflowFontSize,
});
ParameterTypeRequiredDefault
keyKey?Nonull
avatarsList<Widget>Yes—
maxVisibleintNo4
sizeComponentSize?Nonull
dimensiondouble?Nonull
overlapdouble?Nonull
borderWidthdouble?Nonull
borderColorColor?Nonull
overflowColorColor?Nonull
overflowTextColorColor?Nonull
overflowFontSizedouble?Nonull

Application Setup

Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.

Source

lib/src/widgets/media/avatar_group/avatar_group.dart

This reference is generated from the AvatarGroup declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI