onTap property

VoidCallback? onTap
final

Will be called when you tap on the badge or child Important: if the badge is outside of the child the additional padding will be applied to make the full badge clickable

Implementation

final VoidCallback? onTap;