TapDetector constructor
TapDetector({
- required Widget child,
- VoidCallback? onTap,
- EdgeInsets padding = EdgeInsets.zero,
Implementation
TapDetector({
required this.child,
this.onTap,
this.padding = EdgeInsets.zero,
});