avataar_generator 1.1.2 avataar_generator: ^1.1.2 copied to clipboard
A simple svg generator that gives awesome emojis. This package can be used anywhere with Dart like Angular dart, Flutter etc.
Avataar Generator in Dart #
A package to generate svg in Dart that produces awesome emojis. This package can be used with Angular Dart, Flutter etc.
Installation #
Add this to your project's pubspec.yaml
dependencies:
avataar_generator: any
Usage #
Anywhere you want the svg string.
getSvg(new Options())
Options can be given different parameters.
Avatar Style #
- Circle
- Transparent
Top #
- No Hair
- Eye Patch
- Hat
- Hijab
- Turban
- Winter Hat 1
- Winter Hat 2
- Winter hat 3
- Winter hat 4
- Long hair big hair
- Long hair bob
- Long hair bun
- Long hair curly
- Long hair curvy
- Long hair dreads
- Long hair frida
- Long hair fro
- Long hair fro band
- Long hair not too long
- Long hair Shaved sides
- Long hair miawal lace
- Long hair straight
- Long hair straight 2
- Long hair straight strand
- Short hair dreads 01
- Short hair dreads 02
- Short hair frizzle
- Short hairs shaggy mullet
- Short hairs short curly
- Short hairs short flat
- Short hairs short round
- Short hairs short waved
- Short hair sides
- Short hair the caeser
- Short hair the caeser side part
Accessories #
- Blank
- Kurta
- Prescription01
- Prescription02
- Round
- Sunglasses
- Wayfarers
Hair Color #
- Aurburn
- Black
- Blonde
- BlondeGolden
- Brown
- BrownDark
- PastelPink
- Platinum
- Red
- SilverGray
HatColor #
- Black
- Blue01
- Blue02
- Blue03
- Gray01
- Gray02
- Heather
- PastelBlue
- PastelGreen
- PastelOrange
- PastelRed
- PastelYellow
- Pink
- Red
- White
FacialColor #
- Blank
- BeardMedium
- BeardLight
- BeardMajestic
- MoustacheFancy
- MoustacheMagnum
FacialHairColor #
- Aurburn
- Black
- Blonde
- BlondeGolden
- Brown
- BrownDark
- PastelPink
- Platinum
- Red
- SilverGray
Cloth #
- BlazerShirt
- BlazerSweater
- CollarSweater
- GraphicShirt
- Hoodie
- Overall
- ShirtCrewNeck
- ShirtScoopNeck
- ShirtVNeck
Eyes #
- Close
- Cry
- None
- Dizzy
- EyeRoll
- Happy
- Hearts
- Side
- Squint
- Surprised
- Wink
- WinkWhacky
EyeBrow #
- Angry
- AngryNatural
- None
- DefaultNatural
- FlatNatural
- RaisedExcited
- RaisedExcitedNatural
- SadConcerned
- SadConcernedNatural
- UpDown
- UpDownNatural
Mouth #
- Concerned
- None
- Disbelief
- eating
- Grimace
- Sad
- ScreamOpen
- Serious
- Smile
- Tongue
- Twinkle
- Vomit
Skin #
- Tanned
- Yellow
- Pale
- Light
- Brown
- DarkBrown
- Black
Face #
- Mouth
- Node
- Eyes
- EyeBrow
Graphic #
- Bat
- Cumbia
- Deer
- Diamond
- Hola
- Pizza
- Resist
- Selena
- Bear
- SkullOutline
- Skull
ClothColor #
- Black
- Blue01
- Blue02
- Blue03
- Gray01
- Gray02
- Heather
- PastelBlue
- PastelGreen
- PastelOrange
- PastelRed
- PastelYellow
- Pink
- Red
- White