TapDetector constructor

TapDetector({
  1. required Widget child,
  2. VoidCallback? onTap,
  3. EdgeInsets padding = EdgeInsets.zero,
})

Implementation

TapDetector({
  required this.child,
  this.onTap,
  this.padding = EdgeInsets.zero,
});