ComImageOverlay constructor
const
ComImageOverlay({
- Key? key,
- double? height,
- double? width,
- Color? color,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- required ImageProvider<
Object> image, - Widget child = const SizedBox.shrink(),
- AlignmentGeometry? alignment,
- BorderRadiusGeometry? borderRadius,
- ColorFilter? colorFilter = const ColorFilter.mode(Colors.black54, BlendMode.darken),
- BoxFit? boxFit = BoxFit.cover,
- Border? border,
- BoxShape shape = BoxShape.rectangle,
Implementation
const ComImageOverlay({
super.key,
this.height,
this.width,
this.color,
this.padding,
this.margin,
required this.image,
this.child = const SizedBox.shrink(),
this.alignment,
this.borderRadius,
this.colorFilter = const ColorFilter.mode(Colors.black54, BlendMode.darken),
this.boxFit = BoxFit.cover,
this.border,
this.shape = BoxShape.rectangle,
});