FAvatar constructor

FAvatar({
  1. required ImageProvider<Object> image,
  2. FAvatarStyle style(
    1. FAvatarStyle
    )?,
  3. double size = 40.0,
  4. String? semanticsLabel,
  5. Widget? fallback,
  6. Key? key,
})

Creates an FAvatar.

Implementation

FAvatar({
  required ImageProvider image,
  this.style,
  this.size = 40.0,
  String? semanticsLabel,
  Widget? fallback,
  super.key,
}) : child = Content(style: style, size: size, image: image, semanticsLabel: semanticsLabel, fallback: fallback);