Skip to content
pubscout

avatar_maker

1.12.0, released 3 weeks ago by roadtripmoustache.com

An SVG avatar generator and customizer library for Flutter apps.

WASM-ready
$ flutter pub add avatar_maker
Source repository

What it does

Provides a Customizer widget, avatar display widget, and utility functions to render, customize, save, and load SVG avatars. Avatars can be styled using a variety of properties such as hair, facial hair, outfits, and accessories.

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

Use it when

  • You need user profile avatars with built-in customization UIs.
  • You want vector-based SVG avatars derived from getavataaars.com assets.

Skip it when

  • You need to render raster images like PNG or JPEG profile pictures from a gallery.
  • You are targeting web and cannot use the canvaskit renderer.

Strengths

  • Extensive customizable SVG styles and components.
  • Includes ready-to-use widgets like customizers, randomizers, and save/reset buttons.
  • Supports persistent local storage of user avatar options.

Weaknesses

  • Requires the canvaskit renderer on web to render SVGs properly.
  • AvatarMakerAvatar only renders the local user's saved avatar by default.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6

Wrap your app or screen with AvatarMakerProvider and add the provided widgets.

AvatarMakerProvider(
  child: MaterialApp(
    home: Scaffold(
      body: Column(
        children: [
          AvatarMakerAvatar(),
          AvatarMakerCustomizer(),
        ],
      ),
    ),
  ),
);

Alternatives

Packages that do the same job and could replace avatar_maker.

Works with

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