beanheads 0.2.0
beanheads: ^0.2.0 copied to clipboard
A customizable cartoon avatar generator that produces SVG strings. Dart port of the BeanHeads library.
0.2.0 #
Breaking Changes #
- Removed
CircleColorenum.BeanheadConfig.circleColoris now aString(hex color value) instead ofCircleColor. ReplaceCircleColor.bluewith'#85c5e5' - Removed
circleColorsfield fromBeanheadsTheme. Circle color is now specified directly as a hex string
Features #
- Circle background color can now be set to any hex color string (e.g.,
'#FF5733') - 27 Material Design color presets for random circle color generation
- Example app redesigned with two-column control layout
Other #
- Improved README installation instructions
- Updated CI
actions/checkoutfrom v4 to v5
0.1.1 #
Bug Fixes #
- Fixed clothing render layer assignment — Shirt, DressShirt, VNeck, and TankTop now correctly render in the back layer, making
Body.breastscharacteristics visible as intended - Regenerated demo GIF with corrected rendering
0.1.0 #
- Interactive example app with real-time avatar customization and SVG preview thumbnails
BeanheadConfig.copyWith()for immutable state updatesBeanheadConfigequality support (==,hashCode) andtoStringColorPairequality support (==,hashCode) andtoStringBeanheadwidget SVG caching for better performanceBeanhead.random()now accepts optionalRandomparameter for deterministic results- Improved hat scaling for Long, Bob, and Afro hair styles using pure SVG transforms
- Removed
SvgBuilderfrom public API (internal implementation detail) - Fixed
HatColor/FaceMaskColorresolution to use explicit mapping instead of name matching