profile_name_avatar 0.0.2 copy "profile_name_avatar: ^0.0.2" to clipboard
profile_name_avatar: ^0.0.2 copied to clipboard

A simple widget to show user initials in a circular avatar with background color.

Profile Name Avatar #

A lightweight Flutter widget to generate profile avatars with user initials — similar to Google or Slack. If a user doesn't have a profile image, this widget displays their initials in a colored circle.

✨ Features #

  • Automatically generates initials from names
  • Random background color based on name
  • Fully customizable: radius, text style, colors

🔧 Installation #

Add this to your pubspec.yaml:

dependencies:
  profile_name_avatar: ^0.0.2

Usage #

import 'package:profile_name_avatar/profile_name_avatar.dart';

ProfileAvatar(
  name: 'Sarbath Shameer',
  radius: 40,
)

Example #

Profile Avatar Screenshot

6
likes
140
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

A simple widget to show user initials in a circular avatar with background color.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on profile_name_avatar