ProTapper constructor

const ProTapper({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsets? padding,
  4. required Function onTap,
  5. bool? skipTraversal,
})

To do something on tap using any widgets, wrap your widget inside ProTapper and use onTap function.

Implementation

const ProTapper({
  Key? key,
  this.child,
  this.padding,
  required this.onTap,
  this.skipTraversal,
}) : super(key: key);