flutter_content_placeholder 0.0.3 flutter_content_placeholder: ^0.0.3 copied to clipboard
A Flutter Content Placeholder plugin to make nice animated shimmer content placeholders. This plugin uses shimmer flutter plugin for shimmer animation.
import 'package:flutter/material.dart';
import 'package:flutter_content_placeholder/flutter_content_placeholder.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: ContentPlaceholder.block(
width: 100,
height: 100,
rightSpacing: 10,
context: context,
),
);
}
}