RoundedHalfCircleShape constructor
const
RoundedHalfCircleShape({
- Key? key,
- required double width,
- required double height,
- required Color color,
- bool isStroked = false,
- Color? strokeColor,
- double strokeWidth = 2.0,
- ImageProvider<
Object> ? image, - BoxFit imageFit = BoxFit.cover,
- Alignment imageAlignment = Alignment.center,
- double imageScale = 1.0,
- Color? overlayColor,
- Gradient? gradient,
- BoxShadow? shadow,
- 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);