placehold_img 0.0.2
placehold_img: ^0.0.2 copied to clipboard
A Flutter package that provides an easy way to display placeholder images from the internet. It leverages the CachedNetworkImage package to display images with caching capabilities, ensuring efficient [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add placehold_imgWith Flutter:
$ flutter pub add placehold_imgThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
placehold_img: ^0.0.2Alternatively, 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:placehold_img/placehold_img.dart';