SkeletonWidget constructor

const SkeletonWidget({
  1. Key? key,
  2. required double height,
  3. required double width,
})

Creates a SkeletonWidget.

The height and width parameters are required.

Implementation

const SkeletonWidget({
  Key? key,
  required this.height,
  required this.width,
}) : super(key: key);