dicebear_offline 1.4.2
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
miniavsstyle was incorrectly encoding and decoding the hair and head shape components insideDicebearCodec.
1.4.0 #
- API Enhancement: Exposed
EditorScreenStateand made therandomizeCurrent()method public so that users can programmatically randomize the active avatar state from their own project using aGlobalKey<EditorScreenState>.
1.3.9 #
- Change: Hid the "Randomize" floating action button from
EditorScreenwhile keeping the randomization logic intact. Exposed the randomization method as a public methodrandomizeCurrent()onEditorScreenState.
1.3.8 #
- Change: Hid the "Randomize" floating action button from
EditorScreenwhile keeping the randomization initialization logic intact.
1.3.7 #
- Change: Forced the "default" transparent style in
SvgEnginefor 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.saveAvatarPayloadto 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.dartcolor palettes into theDicebearCodecglobal palette, fixing a fallback-to-white issue for newly added avatar styles.
1.3.3 #
- Fix: Fixed a bit-packing limitation in
DicebearCodecthat 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
SvgEnginewhere 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_dataimport ineditor_screen.dartto fix compilation error.
1.3.0 #
- Breaking Change: Decoupled UI screens from the core package.
ProfileScreen,CodecScreen, andMainScreenare now strictly part of theexampleapp. - Breaking Change:
EditorScreenno longer forces a built-in Save button. - Added
onAvatarChanged(Uint8List payload)callback toEditorScreenso host apps can listen to live 13-byte avatar state changes. - Added
DicebearProfileManagerutility class to easily persist 13-byte avatars toshared_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.