flutter_profile_picture
2.0.0, released 5 years ago by an unverified publisher
Shows a circular profile picture with initials, optional image and tooltip.
What it does
The widget generates a profile avatar using the first letters of a name and assigns a background color based on the name. You can optionally provide an image URL, enable random colors, show a tooltip, or display a role label.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need simple user avatars with initials
- You want automatic color generation without custom logic
Skip it when
- You require advanced avatar features like clustering or animations
- You need extensive styling beyond radius, font size, and background color
Strengths
- Zero‑configuration default style
- Handles empty names gracefully
- Supports random colors and tooltips
Weaknesses
- Limited customization options
- No built‑in image caching or loading placeholders
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
radius: 31,
fontsize: 21,
tooltip: true,
);Alternatives
Packages that do the same job and could replace flutter_profile_picture.
- flutter_painter
A Flutter widget for drawing scribbles, text, shapes and images on a canvas.
74Compare - redacted
Automatically generates a loading skeleton widget from your own widget tree.
52Compare - gradient_circular_progress_indicator
A customizable circular progress widget with gradient progress value color.
50Compare - painter
A simple flutter widget to paint with your fingers, supporting colors, undo, and export to PNG.
50Compare