performSelector method
Performs the specified MacOS-specific selector from the
NSStandardKeyBindingResponding
protocol or user-specified selector
from DefaultKeyBinding.Dict
.
Implementation
@override
void performSelector(String selectorName) {
final intent = intentForMacOSSelector(selectorName);
if (intent != null) {
final primaryContext = primaryFocus?.context;
if (primaryContext != null) {
Actions.invoke(primaryContext, intent);
}
}
}