GFImageOverlay constructor
const
GFImageOverlay({
- Key? key,
- double? height,
- double? width,
- Color? color,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- ImageProvider<
Object> ? image, - Widget child = const Text(''),
- AlignmentGeometry? alignment,
- BorderRadiusGeometry? borderRadius,
- ColorFilter? colorFilter = const ColorFilter.mode(Colors.black26, BlendMode.colorBurn),
- BoxFit? boxFit = BoxFit.fill,
- Border? border,
- 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);