FAvatar constructor
FAvatar({
- required ImageProvider<
Object> image, - FAvatarStyle? style,
- double size = 40.0,
- String? semanticLabel,
- Widget? fallback,
- 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,
);