shimmer_animation 0.0.4 shimmer_animation: ^0.0.4 copied to clipboard
This is a new shimmer animation widget that can help you bring simple yet beutiful animations to your project with ease.
import 'package:flutter/material.dart';
import 'package:shimmer_animation/shimmer_animation.dart';
void main() {
runApp(FullPageShimmerExample());
}
class FullPageShimmerExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: ShimmerPage(),
);
}
}
class ShimmerPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Shimmer(
// color: Colors.white, //Default value
// enabled: true, //Default value
child: Container(
color: Colors.deepPurple,
),
),
);
}
}