onTap property

VoidCallback? onTap
final

Called when the overlay is tapped (typically to toggle play/pause).

Implementation

final VoidCallback? onTap;