FluentAvatarState constructor

const FluentAvatarState({
  1. required FluentAvatarActive active,
  2. required FluentAvatarColor color,
  3. required FluentAvatarSize size,
  4. required FluentAvatarShape shape,
  5. ImageProvider<Object>? image,
  6. String? initials,
  7. Widget? icon,
  8. Widget? badge,
  9. String? semanticLabel,
})

Creates a resolved state.

Implementation

const FluentAvatarState({
  required super.active,
  required this.color,
  required this.size,
  required this.shape,
  super.image,
  super.initials,
  super.icon,
  super.badge,
  super.semanticLabel,
});