Skip to content
pubscout

circular_profile_avatar

2.0.5, released 5 years ago by an unverified publisher

A Flutter widget to display circular profile avatars with borders, overlays, and initials.

$ flutter pub add circular_profile_avatar
Source repository

What it does

CircularProfileAvatar provides an alternative to Flutter's standard CircleAvatar widget. It allows developers to easily implement circular profile pictures with customizable borders, elevation, background and foreground overlays, initials text, and caching via cached_network_image.

AI-written summary of version 2.0.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a circular profile image with built-in border and elevation support.
  • You want to automatically fallback to initials text when the image URL is empty.
  • You require caching for network-based avatar images.

Skip it when

  • You are already using custom implementations of CircleAvatar and do not need extra features like built-in caching or text initials overlays.

Strengths

  • Supports network image caching out of the box using cached_network_image.
  • Allows custom child widgets such as AssetImages or Flutter logos.
  • Easily configurable borders, elevation, and initials text.

Weaknesses

  • Limited to circular avatars.
  • Relies on older cached_network_image integration which may lack the latest caching configurations.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
CircularProfileAvatar(
  'https://avatars0.githubusercontent.com/u/8264639?s=460&v=4',
  radius: 100,
  backgroundColor: Colors.transparent,
  borderWidth: 10,
  borderColor: Colors.brown,
  elevation: 5.0,
  onTap: () {
    print('Avatar tapped');
  },
)

Alternatives

Packages that do the same job and could replace circular_profile_avatar.

Works with

Packages commonly used together with circular_profile_avatar: ones it builds on, ones built on it, and its own family.