Flutter macOS Embedder
FlutterViewController.mm File Reference

Go to the source code of this file.

Classes

class  FlutterViewWrapper
 

Functions

static void OnKeyboardLayoutChanged (CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo)
 

Variables

__weak FlutterViewController_controller
 
std::shared_ptr< flutter::AccessibilityBridgeMac_bridge
 
FlutterThreadSynchronizer_threadSynchronizer
 

Function Documentation

◆ OnKeyboardLayoutChanged()

static void OnKeyboardLayoutChanged ( CFNotificationCenterRef  center,
void *  observer,
CFStringRef  name,
const void *  object,
CFDictionaryRef  userInfo 
)
static

NotificationCenter callback invoked on kTISNotifySelectedKeyboardInputSourceChanged events.

Definition at line 239 of file FlutterViewController.mm.

243  {
244  FlutterViewController* controller = (__bridge FlutterViewController*)observer;
245  if (controller != nil) {
246  [controller onKeyboardLayoutChanged];
247  }
248 }

Variable Documentation

◆ _bridge

std::shared_ptr<flutter::AccessibilityBridgeMac> _bridge
Initial value:

Definition at line 321 of file FlutterViewController.mm.

◆ _controller

__weak FlutterViewController* _controller
Initial value:
{
FlutterView* _flutterView

Definition at line 250 of file FlutterViewController.mm.

◆ _threadSynchronizer

FlutterThreadSynchronizer* _threadSynchronizer

Definition at line 329 of file FlutterViewController.mm.

FlutterViewController
Definition: FlutterViewController.h:73
_project
FlutterDartProject * _project
Definition: FlutterEngine.mm:409
FlutterView
Definition: FlutterView.h:35
FlutterDartProject
Definition: FlutterDartProject.mm:24