hasModifier property

bool get hasModifier

Whether any modifier key is held.

Implementation

bool get hasModifier => ctrl || alt || shift;