onTapDown property

VoidCallback? onTapDown
final

Called when the button is pressed.

If this callback, onLongPress, onPressed and onTapUp are null, then the button will be disabled.

See also:

  • enabled, which is true if the button is enabled.

Implementation

final VoidCallback? onTapDown;