flutter_content_placeholder 0.0.1 flutter_content_placeholder: ^0.0.1 copied to clipboard
A Flutter Content Placeholder plugin to make nice animated shimmer content placeholders. This plugin uses shimmer flutter plugin for shimmer animation.
Flutter Content Placeholder #
A Flutter Content Placeholder plugin to make nice animated shimmer content placeholders. This plugin uses shimmer flutter plugin for shimmer animation.
How to use #
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies:
flutter_content_placeholder: ^0.0.1
2. Install it
You can install packages from the command line:
with Flutter:
$ flutter packages get
Alternatively, your editor might support flutter packages get
. Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
import 'package:flutter_content_placeholder/flutter_content_placeholder.dart';
4. Import it
Now in your Dart code, you can use:
ContentPlaceholder.block(
width: 100,
height: 100,
rightSpacing: 10,
)