placeholder_images 0.0.1
placeholder_images: ^0.0.1 copied to clipboard
Placeholder for images. You can use the simple method to get a unique image for each user just like Google or Microsoft Teams. The image consists of initials of the user name.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add placeholder_imagesThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
placeholder_images: ^0.0.1Alternatively, 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:placeholder_images/placeholder_images.dart';