ClickableBox.image constructor

const ClickableBox.image({
  1. required ImageProvider<Object>? image,
  2. VoidCallback? onTap,
  3. Color? hoverColor,
  4. Color? splashColor,
  5. double? width,
  6. double? height,
  7. Color? color,
  8. Widget? child,
  9. 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;