onLongPress property

VoidCallback? onLongPress
final

Called when the badge is long-pressed.

If this callback and onPressed are null, then the badge will be disabled.

See also:

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

Implementation

final VoidCallback? onLongPress;