colorize_text_avatar 1.0.2 colorize_text_avatar: ^1.0.2 copied to clipboard
Colorize Text Avatar is a package to generate avatar based on your user initials.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add colorize_text_avatar
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
colorize_text_avatar: ^1.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:colorize_text_avatar/colorize_text_avatar.dart';