dicebear_offline 1.4.2 copy "dicebear_offline: ^1.4.2" to clipboard
dicebear_offline: ^1.4.2 copied to clipboard

A powerful, offline, customizable DiceBear avatar generator for Flutter. Supports OpenPeeps, Personas, Micah, ToonHead, Avataaars, and Miniavs.

1.4.2 #

  • Maintenance Update: Routine package refresh and cleanup.

1.4.1 #

  • Documentation Update: Made the description of the 13-byte codec feature more generic.
  • Bug Fix: Fixed an issue where the miniavs style was incorrectly encoding and decoding the hair and head shape components inside DicebearCodec.

1.4.0 #

  • API Enhancement: Exposed EditorScreenState and made the randomizeCurrent() method public so that users can programmatically randomize the active avatar state from their own project using a GlobalKey<EditorScreenState>.

1.3.9 #

  • Change: Hid the "Randomize" floating action button from EditorScreen while keeping the randomization logic intact. Exposed the randomization method as a public method randomizeCurrent() on EditorScreenState.

1.3.8 #

  • Change: Hid the "Randomize" floating action button from EditorScreen while keeping the randomization initialization logic intact.

1.3.7 #

  • Change: Forced the "default" transparent style in SvgEngine for Avataaars to completely prevent circular backgrounds from ever rendering.

1.3.6 #

  • Change: Removed the "Style" category (circle background option) from Avataaars customization in EditorScreen. Avataaars now always render with the default transparent background.

1.3.5 #

  • Change: Changed DicebearProfileManager.saveAvatarPayload to overwrite and save only one active avatar profile at a time.
  • Update: Updated example application to display a beautiful single-avatar card in the Profile tab and showcase the saved avatar on the 13-Byte Codec tab.

1.3.4 #

  • Fix: Added all 91 unique colors from editor_screen.dart color palettes into the DicebearCodec global palette, fixing a fallback-to-white issue for newly added avatar styles.

1.3.3 #

  • Fix: Fixed a bit-packing limitation in DicebearCodec that caused colors for Micah, ToonHead, and Avataaars to render colorless or wrong (expanded from 5-bit to 7-bit color index encoding).
  • Fix: Fixed a bug in SvgEngine where Miniavs avatars were rendering misaligned or floating due to an incorrect head lookup key.

1.3.2 #

  • Fix: Fixed incorrect named parameters used for 13-byte encoding in Micah, ToonHead, and Avataaars inside EditorScreen.

1.3.1 #

  • Fix: Added missing dart:typed_data import in editor_screen.dart to fix compilation error.

1.3.0 #

  • Breaking Change: Decoupled UI screens from the core package. ProfileScreen, CodecScreen, and MainScreen are now strictly part of the example app.
  • Breaking Change: EditorScreen no longer forces a built-in Save button.
  • Added onAvatarChanged(Uint8List payload) callback to EditorScreen so host apps can listen to live 13-byte avatar state changes.
  • Added DicebearProfileManager utility class to easily persist 13-byte avatars to shared_preferences.

1.2.0 #

  • Major Feature: Converted the package to a Flutter package and natively exported the full interactive Avatar Editor UI, Profile Saver, and Codec testing screens out-of-the-box! You can now launch the beautiful editor in any app with runApp(MaterialApp(home: MainScreen())).

1.1.0 #

  • New Feature: Added DicebearCodec, a powerful compression engine that mathematically packs any custom avatar configuration (styles, features, and colors) into exactly 13 bytes (Uint8List(13)) for efficient storage and transmission.

1.0.0 #

  • Initial release of the offline DiceBear avatar generator package for Flutter.
  • Support for OpenPeeps, Personas, Micah, ToonHead, Avataaars, and Miniavs.
  • Added a comprehensive example application demonstrating the full editing capabilities.
0
likes
130
points
595
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful, offline, customizable DiceBear avatar generator for Flutter. Supports OpenPeeps, Personas, Micah, ToonHead, Avataaars, and Miniavs.

Repository (GitHub)

License

MIT (license)

Dependencies

cupertino_icons, flutter, flutter_svg, shared_preferences

More

Packages that depend on dicebear_offline