PrismSkeletonList.cards constructor

const PrismSkeletonList.cards({
  1. Key? key,
  2. int count = 3,
  3. double mediaHeight = 160,
  4. double spacing = 16,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
})

Creates a list of card-shaped skeletons.

Implementation

const PrismSkeletonList.cards({
  super.key,
  this.count = 3,
  this.mediaHeight = 160,
  this.spacing = 16,
  this.padding = const EdgeInsets.all(16),
}) : kind = PrismSkeletonListKind.card,
     itemHeight = null;