onSecondaryPress property

VoidCallback? onSecondaryPress
final

A callback for when the widget is pressed with a secondary button (usually right-click on desktop).

The item is not interactable if the following are all null:

Implementation

final VoidCallback? onSecondaryPress;