SFSkeleton constructor

const SFSkeleton({
  1. Key? key,
  2. required Widget child,
  3. Color basicColor = Colors.grey,
  4. Color gradientColor = Colors.white,
  5. Curve curve = Curves.fastOutSlowIn,
  6. int duration = 4000,
  7. double gradientSize = 2,
  8. bool gradientIncline = false,
})

Implementation

const SFSkeleton({
  Key? key,
  required this.child,
  this.basicColor = Colors.grey,
  this.gradientColor = Colors.white,
  this.curve = Curves.fastOutSlowIn,
  this.duration = 4000,
  this.gradientSize = 2,
  this.gradientIncline = false,
}) : super(key: key);