https://github.com/bitinfinitywebsolutions/flutter_content_placeholder
A Flutter Content Placeholder plugin to make nice animated shimmer content placeholders. This plugin uses shimmer flutter plugin for shimmer animation.
https://github.com/bitinfinitywebsolutions/flutter_content_placeholder
content flutter placeholder
Last synced: 9 months ago
JSON representation
A Flutter Content Placeholder plugin to make nice animated shimmer content placeholders. This plugin uses shimmer flutter plugin for shimmer animation.
- Host: GitHub
- URL: https://github.com/bitinfinitywebsolutions/flutter_content_placeholder
- Owner: bitinfinitywebsolutions
- License: mit
- Created: 2023-06-11T12:50:24.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T11:00:33.000Z (almost 2 years ago)
- Last Synced: 2025-05-30T22:20:06.223Z (10 months ago)
- Topics: content, flutter, placeholder
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_content_placeholder
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter Content Placeholder
[](https://pub.dartlang.org/packages/shimmer)
[](https://github.com/bitinfinitywebsolutions/flutter_content_placeholder/blob/master/LICENSE)
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.3
```
#### 2. Install it
You can install packages from the command line:
with Flutter:
```
$ flutter pub add flutter_content_placeholder
```
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:
```dart
import 'package:flutter_content_placeholder/flutter_content_placeholder.dart';
```
#### 4. Use it
Now in your Dart code, you can use:
```dart
ContentPlaceholder.block
(
width: 100,
height: 100,
rightSpacing: 10,
)
```