onTap property
(dynamic Function()?)
onTap
final
Will be called when you tap on the badge Important: if the badge is outside of the child the additional padding will be applied to make the full badge clickable
Implementation
final Function()? onTap;