avatar_brick 1.0.1
avatar_brick: ^1.0.1 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_brickWith Flutter:
$ flutter pub add avatar_brickThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
avatar_brick: ^1.0.1Alternatively, 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';