SkeletonAnimation constructor

SkeletonAnimation({
  1. required Widget child,
  2. Color shimmerColor = Colors.white54,
  3. Color gradientColor = const Color.fromARGB(0, 244, 244, 244),
  4. Curve curve = Curves.fastOutSlowIn,
  5. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(0)),
  6. int shimmerDuration = 1000,
  7. Key? key,
})

Implementation

SkeletonAnimation({
  required this.child,
  this.shimmerColor = Colors.white54,
  this.gradientColor = const Color.fromARGB(0, 244, 244, 244),
  this.curve = Curves.fastOutSlowIn,
  this.borderRadius = const BorderRadius.all(Radius.circular(0)),
  this.shimmerDuration = 1000,
  Key? key,
}) : super(key: key);