ShimmerWidget.rectangular constructor

ShimmerWidget.rectangular({
  1. Key? key,
  2. double width = double.infinity,
  3. required double height,
  4. Color color = CommonColors.darkGray,
})

Implementation

ShimmerWidget.rectangular({
  super.key,
  this.width = double.infinity,
  required this.height,
  this.color = CommonColors.darkGray,
}) : shapeBorder =
          RoundedRectangleBorder(borderRadius: BorderRadius.circular(10.0));