avatar_brick 0.1.5
avatar_brick: ^0.1.5 copied to clipboard
Avatar Brick is a custom avatar can automatically display your abbreviation name when no avatar is available.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add avatar_brick
With Flutter:
$ flutter pub add avatar_brick
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
avatar_brick: ^0.1.5
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:avatar_brick/avatar_brick.dart';