ScaleSkeletonSwitcher constructor

const ScaleSkeletonSwitcher({
  1. Key? key,
  2. required bool isLoading,
  3. required Widget child,
  4. SkeletonConfig? config,
  5. Duration duration = const Duration(milliseconds: 300),
})

Creates a scale skeleton switcher.

Implementation

const ScaleSkeletonSwitcher({
  super.key,
  required this.isLoading,
  required this.child,
  this.config,
  this.duration = const Duration(milliseconds: 300),
});