performSelector method

  1. @override
void performSelector(
  1. String selectorName
)
override

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? intent = intentForMacOSSelector(selectorName);

  if (intent != null) {
    final BuildContext? primaryContext = primaryFocus?.context;
    if (primaryContext != null) {
      Actions.invoke(primaryContext, intent);
    }
  }
}