GFImageOverlay constructor

const GFImageOverlay({
  1. Key? key,
  2. double? height,
  3. double? width,
  4. Color? color,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. ImageProvider<Object>? image,
  8. Widget child = const Text(''),
  9. AlignmentGeometry? alignment,
  10. BorderRadiusGeometry? borderRadius,
  11. ColorFilter? colorFilter = const ColorFilter.mode(Colors.black26, BlendMode.colorBurn),
  12. BoxFit? boxFit = BoxFit.fill,
  13. Border? border,
  14. BoxShape shape = BoxShape.rectangle,
})

Creates a image widget with shaded overlay.

Implementation

const GFImageOverlay({
  Key? key,
  this.height,
  this.width,
  this.color,
  this.padding,
  this.margin,
  this.image,
  this.child = const Text(''),
  this.alignment,
  this.borderRadius,
  this.colorFilter =
      const ColorFilter.mode(Colors.black26, BlendMode.colorBurn),
  this.boxFit = BoxFit.fill,
  this.border,
  this.shape = BoxShape.rectangle,
}) : super(key: key);