supper_shimmer 1.0.0
supper_shimmer: ^1.0.0 copied to clipboard
A simple and customizable shimmer effect for Flutter widgets.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:shimmer_effect/shimmer_effect.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text("Shimmer Effect Demo")),
body: Center(
child: ShimmerEffect(
width: 200,
height: 50,
baseColor: Colors.grey[300]!,
highlightColor: Colors.white,
),
),
),
);
}
}