anyDown static method
Returns true
if any of the specified GKey instances are currently
pressed.
This method checks both regular keys and meta keys, and returns true
if
any of them are currently down.
Implementation
static bool anyDown(Iterable<GKey> keys) {
for (final key in keys) {
if (_metaKeys.containsKey(key)) {
return _metaKeys[key]!();
}
if (_pressed.containsKey(key)) {
return true;
}
}
return false;
}