onHoldDown property

VoidCallback onHoldDown
final

The Function to call repeatedly when the button is hold.

If child does not have an onTap attribute, then this function will be called.

Implementation

final VoidCallback onHoldDown;