onTapTrackStart method
Handler for TextSelectionGestureDetector.onTapTrackStart.
See also:
- TextSelectionGestureDetector.onTapTrackStart, which triggers this callback.
Implementation
@protected
void onTapTrackStart() {
_isShiftPressed =
HardwareKeyboard.instance.logicalKeysPressed.intersection(<LogicalKeyboardKey>{
LogicalKeyboardKey.shiftLeft,
LogicalKeyboardKey.shiftRight,
}).isNotEmpty;
}