FAvatar constructor

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

Creates an FAvatar.

Implementation

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