INNER CODE UNIT · Dart

Avatar

flutterfx/flutterfx_widgets · lib/avatar-circles/avatar_circles.dart:13

class Avatar {
  final String imageUrl;
  final String profileUrl;

  const Avatar({
    required this.imageUrl,
    required this.profileUrl,
  });
}

/// A widget that displays a row of overlapping circular avatars with an optional
/// count indicator for additional people
class AvatarCircles extends StatelessWidget {
  /// List of avatars to display
  final List<Avatar> avatars;

  /// Number of additional people to show in the count indicator
  final int? additionalPeople;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…