acter_avatar library

Classes

ActerAvatar
ActerAvatar allows you to display the different types of Avatars in the acter.global app.
AvatarInfo
AvatarOptions
AvatarOptionsDM
AvatarOptionsGroupDM
ColorMaker
The Hashbrown class provides a generateColor method. The Hashbrown accepts as a constructor parameter a ColorGenerator, which can be used to customize the color generation behavior of the library. By default, Hashbrown includes two color generation strategies, pastels and bold. The hashbrown class provides factories to access these generators: Hashbrown.pastels() and Hashbrown.bold()
ColorSet
A combination of a surface color and onSurface color. The surface color can appropriately be used as a background color, and the onSurface color can be used as a text color.
DefaultAvatarOptions
MultiAvatar
TextAvatar

Enums

DisplayMode
DisplayMode configures the ActerAvatar way of displaying the avatar
Shape
Configure the shape the TextAvatar should use
TooltipStyle
Do you want the ActerAvatar wrapped in a Tooltip, configure it here

Constants

badgeSize → const double
badge size for DisplayMode.Space parent.

Properties

defaultColorSet ColorMaker
getter/setter pair
log → Logger
final

Typedefs

ColorGenerator = ColorSet Function(int)
A ColorGenerator generates a colorset based on a seed integer. Given equal seed integers, the ColorSet should also be the same.