ShimmerWidget.rectangular constructor

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

Implementation

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