ShimmerWidget.rectangular constructor

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

Implementation

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