SkeletonFactory constructor

const SkeletonFactory({
  1. Key? key,
  2. required bool isLoading,
  3. required Widget child,
  4. SkeletonConfig config = const SkeletonConfig(),
  5. Widget? skeleton,
})

Creates a skeleton factory.

Implementation

const SkeletonFactory({
  super.key,
  required this.isLoading,
  required this.child,
  this.config = const SkeletonConfig(),
  this.skeleton,
});