ClickableBox constructor

const ClickableBox({
  1. VoidCallback? onTap,
  2. Color? color,
  3. Color? hoverColor,
  4. Color? splashColor,
  5. double? width,
  6. double? height,
  7. Widget? child,
})

Implementation

const ClickableBox({
  this.onTap,
  this.color,
  this.hoverColor,
  this.splashColor,
  this.width,
  this.height,
  this.child,
})  : _type = _ClickableBoxType.none,
      image = null,
      video = null,
      fit = null;