pointerAxisModifiers property

Set<LogicalKeyboardKey> pointerAxisModifiers

A set of LogicalKeyboardKeys that, when any or all are pressed in combination with a PointerDeviceKind.mouse pointer scroll event, will flip the axes of the scroll input.

This will for example, result in the input of a vertical mouse wheel, to move the ScrollPosition of a ScrollView with an Axis.horizontal scroll direction.

If other keys exclusive of this set are pressed during a scroll event, in conjunction with keys from this set, the scroll input will still be flipped.

Defaults to LogicalKeyboardKey.shiftLeft, LogicalKeyboardKey.shiftRight.

Implementation

Set<LogicalKeyboardKey> get pointerAxisModifiers => <LogicalKeyboardKey>{
  LogicalKeyboardKey.shiftLeft,
  LogicalKeyboardKey.shiftRight,
};