ClickableBox.image constructor
const
ClickableBox.image({
- required ImageProvider<
Object> ? image, - VoidCallback? onTap,
- Color? hoverColor,
- Color? splashColor,
- double? width,
- double? height,
- Color? color,
- Widget? child,
- BoxFit? fit,
Implementation
const ClickableBox.image({
required this.image,
this.onTap,
this.hoverColor,
this.splashColor,
this.width,
this.height,
this.color,
this.child,
this.fit,
}) : _type = _ClickableBoxType.image,
video = null;