UIProShimmerWrap.circle constructor

const UIProShimmerWrap.circle({
  1. Key? key,
  2. required Widget child,
  3. required double size,
})

Creates a shimmer wrap for circular content (avatars, icons).

Implementation

const UIProShimmerWrap.circle({
  super.key,
  required this.child,
  required double size,
})  : width = size,
      height = size,
      borderRadius = null,
      shape = UIProShimmerShape.circle;