We're uploading the content right now — check back on October 30th!
FluttyUI Logo
FluttyUI
Components

Avatar

A customizable avatar widget that displays a user profile image with fallbacks and styling options.

Usage

Basic

Display a user image using FluttyAvatar with a URL and default styling.

FluttyAvatar(
  imageUrl: 'https://example.com/avatar.png',
);

With Border and Radius

Customize the avatar with rounded corners and a border.

FluttyAvatar(
  imageUrl: 'https://example.com/avatar.png',
  radius: RadiusVariant.lg,
  isBordered: true,
);

With Custom Size and Color

Adjust the avatar size and background color for fallback display.

FluttyAvatar(
  imageUrl: 'https://example.com/avatar.png',
  size: SizeVariant.lg,
  color: ColorVariant.warning,
);

Fallback Behavior

If the image fails to load, a person icon is displayed with a background color based on the color prop.

API

FluttyAvatar Props

PropTypeDefault
imageUrl
String
-
radius?
RadiusVariant
RadiusVariant.md
size?
SizeVariant
SizeVariant.md
color?
ColorVariant
ColorVariant.primary
isBordered?
bool
false
FluttyUI — Build beautiful apps faster