Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

colorize text avatar

colorize text avatar is a package to generate avatar based on your user initials. it supports to generate avatars based on your specification or it colorize your avatar by using predefined colors. enjoy it!

img_4

getting started ��

it is an easy and powerfull package to generate text avatars for your users!

let’s see how to generate an avatar easily!

usage of colorize text avatar ��

here is the only mandatory parameter is text.

textavatar(
    text: "deniz çolak",
)

img_1

parameters of text avatar ��

here is the predefined shapes: rectangle, circular or none, if shape is null or not defined the default value similar with rectangle but not same.

shape.rectangle, shape.circular, shape.none can be use.

textavatar(
    shape: shape.circular,
    text: "deniz çolak"
)

img_2

numberletters parameter allows user to generate avatar more specific number of character.

developer can predefine size and numberletters, if numberletters is null or not defined the default value is 1.

textavatar(
    shape: shape.rectangle,
    size: 35,
    numberletters: 2,

)

img_3

other parameters can be change according to your specification.

developers can extend the textavatar model according to their specification, currently below parameters are supported.

textavatar(
    shape: shape.circular,
    size: 35
    textcolor: colors.white,
    fontsize: 14,
    fontweight: fontweight.w600,
    uppercase: true,
    backgroundcolor: colors.black,
    numberletters: 1,

    text: this.widget.userdata.fullname,
)

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top