ComImageOverlay constructor

const ComImageOverlay({
  1. Key? key,
  2. double? height,
  3. double? width,
  4. Color? color,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. required ImageProvider<Object> image,
  8. Widget child = const SizedBox.shrink(),
  9. AlignmentGeometry? alignment,
  10. BorderRadiusGeometry? borderRadius,
  11. ColorFilter? colorFilter = const ColorFilter.mode(Colors.black54, BlendMode.darken),
  12. BoxFit? boxFit = BoxFit.cover,
  13. Border? border,
  14. 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,
});