onTertiaryPressed method
Widget
onTertiaryPressed(
- VoidCallback action, {
- HitTestBehavior? behavior,
- Set<
PointerDeviceKind> ? supportedDevices,
Adds a handler for tertiary press gestures (equivalent to middle-click).
Example:
Text("Middle-click me").onTertiaryPressed(() => print("Middle clicked"))
Implementation
Widget onTertiaryPressed(VoidCallback action,
{HitTestBehavior? behavior,
Set<PointerDeviceKind>? supportedDevices}) =>
OnGesture.tertiaryPress(
action: action,
behavior: behavior,
supportedDevices: supportedDevices,
child: this);