Flutter Avatars - Bottts
A high performance Flutter Widget to render Bottts svg avatars on android/ios devices.
It's faster than other classical approaches because it's not using any API, rather it's rendering SVG strings on the fly !
Bottts :
Characters Originally Designed by Pablo Stanley, the Sketch library can be found on bottts.com.
Getting Started
- Create Bottt object:
- Create BotttAvatar widget and pass it the bottt object:
Serialization/Deserialization
For Maps: Use botttObject.toJson()
and Bottt.fromJson(serializedBotttString)
methods to serialize/deserialize bottts.
For Strings: Use botttObject.serialize()
and Bottt.deserialize()(serializedBotttString)
methods to serialize/deserialize bottts.