UIProShimmer constructor

const UIProShimmer({
  1. Key? key,
  2. Widget? child,
  3. double? width,
  4. double? height,
  5. double? borderRadius,
  6. Color? baseColor,
  7. Color? highlightColor,
  8. Duration? duration,
  9. bool enabled = true,
  10. UIProShimmerShape shape = UIProShimmerShape.rectangle,
  11. UIProShimmerDirection direction = UIProShimmerDirection.leftToRight,
})

Creates a shimmer effect widget.

Implementation

const UIProShimmer({
  super.key,
  this.child,
  this.width,
  this.height,
  this.borderRadius,
  this.baseColor,
  this.highlightColor,
  this.duration,
  this.enabled = true,
  this.shape = UIProShimmerShape.rectangle,
  this.direction = UIProShimmerDirection.leftToRight,
});