avatar_letter 1.0.1 copy "avatar_letter: ^1.0.1" to clipboard
avatar_letter: ^1.0.1 copied to clipboard

discontinued

It is a widget that uses the first few letters of a word to create an avatar with a set of basic functions..

AvatarLetter #

It is a widget that uses the first few letters of a word to create an avatar with a set of basic functions.

Preview #

AvatarLetter Gif

PageView #

Use case Demo1 Use case Demo2

Getting Started #

Add the plugin:

dependencies:
  ...
  avatar_letter: ^1.0.1

Basic Usage #

    AvatarLetter(
                  size: 200,
                  backgroundColor: Colors.amber,
                  textColor: Colors.black,
                  fontSize: 100,
                  upperCase: true,
                  numberLetters: 1,
                  letterType: LetterType.Circular,
                  text: 'Test 01',
                ),

Customization (Optional) #

AvatarLetter #

letterType - Sets the format of the avatar that can be: (Rectangle, circular, none). Default to Rectangle
text - The text that will be used to extract the letters. Default to '?'
textColor - Sets the color of the letters. Default to Black
textColorHex - Sets the color of the letters from a valid hexadecimal code. Default to #ffffff
backgroundColor - Represents the background color of the avatar. Default to Black
backgroundColorHex - Represents the background color of the avatar from a valid hexadecimal code. Default to #000000
numberLetters - Sets the number of letters to be extracted from the text. Default to 1
fontWeight - Sets the font style. Default to Bold
fontFamily - Sets the font . fontSize - Sets the size of the letters within the avatar. Default to 16
upperCase - Used to set the uppercase letters of the avatar. Default to False
size - Sets the size of the avatar. Default to 50

9
likes
15
pub points
74%
popularity

Publisher

verified publisheredvaldomartins.dev

It is a widget that uses the first few letters of a word to create an avatar with a set of basic functions..

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on avatar_letter