colorize_text_avatar
Colorize Text Avatar는 사용자 초기를 기반으로 아바타를 생성하는 패키지입니다.
사용자가 쉽게 TextAvatar를 만들 수 있는 Flutter 플러그인!
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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!
It is an easy and powerfull package to generate text avatars for your users!
Let's see how to generate an avatar easily!
Here is the only mandatory parameter is text.
TextAvatar(
text: "Deniz Çolak",
)
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"
)
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,
)
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,
)
2021
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗