ProTapper constructor
const
ProTapper({
- Key? key,
- Widget? child,
- EdgeInsets? padding,
- required Function onTap,
- 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);