isModifierPressed abstract method

  1. @Deprecated('No longer supported. ' 'This feature was deprecated after v3.18.0-2.0.pre.')
bool isModifierPressed(
  1. ModifierKey key,
  2. int modifiers, {
  3. KeyboardSide side = KeyboardSide.any,
  4. required int keyCode,
  5. required bool isDown,
})

Returns true if the given ModifierKey was pressed at the time of this event.

Implementation

@Deprecated(
  'No longer supported. '
  'This feature was deprecated after v3.18.0-2.0.pre.',
)
bool isModifierPressed(ModifierKey key, int modifiers, {KeyboardSide side = KeyboardSide.any, required int keyCode, required bool isDown});