RoundedHalfCircleShape constructor

const RoundedHalfCircleShape({
  1. Key? key,
  2. required double width,
  3. required double height,
  4. required Color color,
  5. bool isStroked = false,
  6. Color? strokeColor,
  7. double strokeWidth = 2.0,
  8. ImageProvider<Object>? image,
  9. BoxFit imageFit = BoxFit.cover,
  10. Alignment imageAlignment = Alignment.center,
  11. double imageScale = 1.0,
  12. Color? overlayColor,
  13. Gradient? gradient,
  14. BoxShadow? shadow,
  15. VoidCallback? onTap,
})

Implementation

const RoundedHalfCircleShape({
  Key? key,
  required this.width,
  required this.height,
  required this.color,
  this.isStroked = false,
  this.strokeColor,
  this.strokeWidth = 2.0,
  this.image,
  this.imageFit = BoxFit.cover,
  this.imageAlignment = Alignment.center,
  this.imageScale = 1.0,
  this.overlayColor,
  this.gradient,
  this.shadow,
  this.onTap,
}) : super(key: key);