pressKeycode method
- @Deprecated('Use pressKeycodeWithBitmasks with integer bitmasks instead.')
Press an Android keycode using legacy lists of modifier bits.
List entries are combined with bitwise OR. Empty lists produce zero; omitted or null lists leave the corresponding modifier unspecified.
Implementation
@Deprecated('Use pressKeycodeWithBitmasks with integer bitmasks instead.')
Future<void> pressKeycode(int keycode,
{List<int>? metastate, List<int>? flags}) =>
pressKeycodeWithBitmasks(keycode,
metastate: _combineBitmasks(metastate),
flags: _combineBitmasks(flags));