avatar_brick 1.0.2
avatar_brick: ^1.0.2 copied to clipboard
A Flutter avatar widget for user avatars and profile pictures, with automatic initials fallback and network, asset, file, and memory image support.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add avatar_brickThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
avatar_brick: ^1.0.2Alternatively, 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:avatar_brick/avatar_brick.dart';