flutter_gravatar
2.0.2, released 6 years ago by beerstorm.net
Builds URLs for Gravatar images and profiles in Flutter and Dart.
What it does
Generates URLs for Gravatar images, profile pages, and email hashes. Supports custom parameters such as size, default image fallback, rating, and format types like JSON, XML, VCF, or QR.
AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display user avatars using their Gravatar email address.
- You want to fetch user profile URLs or vCards from Gravatar.
Skip it when
- You are looking for a general-purpose image caching or downloading library.
- You need to upload or manage local image files.
Strengths
- Simple and straightforward API for constructing Gravatar URLs.
- Supports null safety and multiple output formats.
Weaknesses
- Only handles URL generation, does not handle downloading or caching images directly.
- Limited feature set beyond basic Gravatar support.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
final gravatar = Gravatar("yg@beerstorm.net");
gravatar.imageUrl();
gravatar.profileUrl();Alternatives
Packages that do the same job and could replace flutter_gravatar.
- image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
84Compare - jovial_svg
SVG - Robust rendering of Scalable Vector Graphic images, supporting a well-defined profile of SVG, a fast-loading binary storage format, and animation.
86Compare - image_pixels
Build widgets depending on image dimensions and pixel colors.
82Compare - fc_native_image_resize
A Flutter plugin to resize images via native APIs.
69Compare
Works with
Packages commonly used together with flutter_gravatar: ones it builds on, ones built on it, and its own family.