Flutter Widget plugin for generating and displaying Notion Avatars.
This plugin is written simply for use with ToyProject. There is still a lot of work to be done, so if you have any additions or issues, please leave them on Github/issues.
The NotionAvatarController
provides the following methods to control the avatar:
random()
: Generates a random avatar.setAccessories(int index)
: Sets the accessories of the avatar.setEyes(int index)
: Sets the eyes of the avatar.setEyebrows(int index)
: Sets the eyebrows of the avatar.setFace(int index)
: Sets the face of the avatar.setGlasses(int index)
: Sets the glasses of the avatar.setHair(int index)
: Sets the hair of the avatar.setMouth(int index)
: Sets the mouth of the avatar.setNose(int index)
: Sets the nose of the avatar.setDetails(int index)
: Sets the details of the avatar.
Accessories
Accessories can be customized using the NotionAvatarController
's setAccessories()
method.
- Illustration designer: @Felix Wong on ProductHunt
- Pack of illustrations: Noto avatar
- Assets licensed under CC0
- Reference by Mayandev/notion-avatar