Tappable constructor

const Tappable({
  1. Key? key,
  2. VoidCallback? onTap,
  3. BorderRadius? borderRadius,
  4. Widget? child,
  5. List<TapMechanic>? tapMechanics,
  6. Color? splashColor,
  7. Color? highlightColor,
  8. double? splashRadius,
  9. InteractiveInkFeatureFactory? splashFactory,
  10. bool fillParent = false,
  11. EdgeInsetsGeometry? padding,
})

Implementation

const Tappable({
  super.key,
  this.onTap,
  this.borderRadius,
  this.child,
  this.tapMechanics,
  this.splashColor,
  this.highlightColor,
  this.splashRadius,
  this.splashFactory,
  this.fillParent = false,
  this.padding,
});