longPressKeycode method
- @Deprecated('Use longPressKeycodeWithBitmasks with integer bitmasks instead.')
Long 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 longPressKeycodeWithBitmasks with integer bitmasks instead.')
Future<void> longPressKeycode(int keycode,
{List<int>? metastate, List<int>? flags}) =>
longPressKeycodeWithBitmasks(keycode,
metastate: _combineBitmasks(metastate),
flags: _combineBitmasks(flags));