Skeleton.replace constructor

const Skeleton.replace({
  1. Key? key,
  2. required Widget child,
  3. bool replace,
  4. double? width,
  5. double? height,
  6. Widget replacement,
})

Creates a widget that replaces the child when Skeletonizer.enabled is true

Implementation

const factory Skeleton.replace({
  Key? key,
  required Widget child,
  bool replace,
  double? width,
  double? height,
  Widget replacement,
}) = _SkeletonReplace;