onTap property

(dynamic Function(Layer)?) onTap
final

Callback when a tap event occurs.

Implementation

final Function(Layer)? onTap;