Flutter Engine
The Flutter Engine
|
#import <FlutterViewController.h>
Instance Methods | |
(instancetype) | - initWithEngine:nibName:bundle: |
(instancetype) | - initWithProject:nibName:bundle: |
(instancetype) | - initWithProject:initialRoute:nibName:bundle: |
(instancetype) | - initWithCoder: |
(void) | - setFlutterViewDidRenderCallback: |
(NSString *) | - lookupKeyForAsset: |
(NSString *) | - lookupKeyForAsset:fromPackage: |
(void) | - setInitialRoute: |
(void) | - popRoute |
(void) | - pushRoute: |
(id< FlutterPluginRegistry >) | - pluginRegistry |
(BOOL) | - loadDefaultSplashScreenView |
(nonnull instancetype) | - initWithProject: |
(nonnull instancetype) | - initWithNibName:bundle: |
(nonnull instancetype) | - initWithCoder: |
(nonnull instancetype) | - initWithEngine:nibName:bundle: |
(BOOL) | - attached |
(void) | - onPreEngineRestart |
(nonnull NSString *) | - lookupKeyForAsset: |
(nonnull NSString *) | - lookupKeyForAsset:fromPackage: |
(instancetype) | - initWithProject:nibName:bundle: [implementation] |
(instancetype) | - initWithProject:initialRoute:nibName:bundle: [implementation] |
(instancetype) | - initWithNibName:bundle: [implementation] |
(void) | - awakeFromNib [implementation] |
(instancetype) | - init [implementation] |
(void) | - sharedSetupWithProject:initialRoute: [implementation] |
(BOOL) | - isViewOpaque [implementation] |
(void) | - setViewOpaque: [implementation] |
(void) | - performCommonViewControllerInitialization [implementation] |
(fml::WeakNSObject< FlutterViewController >) | - getWeakNSObject [implementation] |
(void) | - setUpNotificationCenterObservers [implementation] |
(void) | - setUpSceneLifecycleNotifications: [implementation] |
(void) | - setUpApplicationLifecycleNotifications: [implementation] |
(void) | - setInitialRoute: [implementation] |
(void) | - loadView [implementation] |
(flutter::PointerData) | - generatePointerDataForFake [implementation] |
(BOOL) | - scrollViewShouldScrollToTop: [implementation] |
(void) | - installSplashScreenViewIfNecessary [implementation] |
(void) | - setDisplayingFlutterUI: [implementation] |
(void) | - callViewRenderedCallback [implementation] |
(void) | - removeSplashScreenView: [implementation] |
(void) | - installFirstFrameCallback [implementation] |
(UIView *) | - keyboardAnimationView [implementation] |
(SpringAnimation *) | - keyboardSpringAnimation [implementation] |
(UIView *) | - splashScreenFromStoryboard: [implementation] |
(UIView *) | - splashScreenFromXib: [implementation] |
(void) | - setSplashScreenView: [implementation] |
(void) | - surfaceUpdated: [implementation] |
(void) | - viewDidLoad [implementation] |
(void) | - addInternalPlugins [implementation] |
(void) | - removeInternalPlugins [implementation] |
(void) | - viewWillAppear: [implementation] |
(void) | - viewDidAppear: [implementation] |
(void) | - viewWillDisappear: [implementation] |
(void) | - viewDidDisappear: [implementation] |
(void) | - viewWillTransitionToSize:withTransitionCoordinator: [implementation] |
(void) | - flushOngoingTouches [implementation] |
(void) | - deregisterNotifications [implementation] |
(void) | - dealloc [implementation] |
(void) | - applicationBecameActive: [implementation] |
(void) | - applicationWillResignActive: [implementation] |
(void) | - applicationWillTerminate: [implementation] |
(void) | - applicationDidEnterBackground: [implementation] |
(void) | - applicationWillEnterForeground: [implementation] |
(void) | - sceneBecameActive: [implementation] |
(void) | - sceneWillResignActive: [implementation] |
(void) | - sceneWillDisconnect: [implementation] |
(void) | - sceneDidEnterBackground: [implementation] |
(void) | - sceneWillEnterForeground: [implementation] |
(void) | - appOrSceneBecameActive [implementation] |
(void) | - appOrSceneWillResignActive [implementation] |
(void) | - appOrSceneWillTerminate [implementation] |
(void) | - appOrSceneDidEnterBackground [implementation] |
(void) | - appOrSceneWillEnterForeground [implementation] |
(void) | - goToApplicationLifecycle: [implementation] |
(void) | - dispatchTouches:pointerDataChangeOverride:event: [implementation] |
(void) | - touchesBegan:withEvent: [implementation] |
(void) | - touchesMoved:withEvent: [implementation] |
(void) | - touchesEnded:withEvent: [implementation] |
(void) | - touchesCancelled:withEvent: [implementation] |
(void) | - forceTouchesCancelled: [implementation] |
(void) | - createTouchRateCorrectionVSyncClientIfNeeded [implementation] |
(void) | - triggerTouchRateCorrectionIfNeeded: [implementation] |
(void) | - invalidateTouchRateCorrectionVSyncClient [implementation] |
(void) | - updateViewportMetricsIfNeeded [implementation] |
(void) | - viewDidLayoutSubviews [implementation] |
(void) | - viewSafeAreaInsetsDidChange [implementation] |
(void) | - setViewportMetricsSize [implementation] |
(void) | - setViewportMetricsPaddings [implementation] |
(void) | - keyboardWillShowNotification: [implementation] |
(void) | - keyboardWillChangeFrame: [implementation] |
(void) | - keyboardWillBeHidden: [implementation] |
(void) | - handleKeyboardNotification: [implementation] |
(BOOL) | - shouldIgnoreKeyboardNotification: [implementation] |
(BOOL) | - isKeyboardNotificationForDifferentView: [implementation] |
(FlutterKeyboardMode) | - calculateKeyboardAttachMode: [implementation] |
(CGFloat) | - calculateMultitaskingAdjustment:keyboardFrame: [implementation] |
(CGFloat) | - calculateKeyboardInset:keyboardMode: [implementation] |
(void) | - startKeyBoardAnimation: [implementation] |
(void) | - setUpKeyboardSpringAnimationIfNeeded: [implementation] |
(void) | - setUpKeyboardAnimationVsyncClient: [implementation] |
(void) | - invalidateKeyboardAnimationVSyncClient [implementation] |
(void) | - removeKeyboardAnimationView [implementation] |
(void) | - ensureViewportMetricsIsCorrect [implementation] |
(void) | - handlePressEvent:nextAction: [implementation] |
(void) | - pressesBegan:withEvent: [implementation] |
(void) | - pressesChanged:withEvent: [implementation] |
(void) | - pressesEnded:withEvent: [implementation] |
(void) | - pressesCancelled:withEvent: [implementation] |
(void) | - onOrientationPreferencesUpdated: [implementation] |
(void) | - requestGeometryUpdateForWindowScenes: [implementation] |
(void) | - performOrientationUpdate: [implementation] |
(void) | - onHideHomeIndicatorNotification: [implementation] |
(void) | - onShowHomeIndicatorNotification: [implementation] |
(void) | - setIsHomeIndicatorHidden: [implementation] |
(BOOL) | - prefersHomeIndicatorAutoHidden [implementation] |
(BOOL) | - shouldAutorotate [implementation] |
(NSUInteger) | - supportedInterfaceOrientations [implementation] |
(void) | - onAccessibilityStatusChanged: [implementation] |
(int32_t) | - accessibilityFlags [implementation] |
(BOOL) | - accessibilityPerformEscape [implementation] |
(void) | - traitCollectionDidChange: [implementation] |
(void) | - onUserSettingsChanged: [implementation] |
(CGFloat) | - textScaleFactor [implementation] |
(BOOL) | - supportsShowingSystemContextMenu [implementation] |
(BOOL) | - isAlwaysUse24HourFormat [implementation] |
(NSString *) | - brightnessMode [implementation] |
(NSString *) | - contrastMode [implementation] |
(UIStatusBarStyle) | - preferredStatusBarStyle [implementation] |
(void) | - onPreferredStatusBarStyleUpdated: [implementation] |
(void) | - setPrefersStatusBarHidden: [implementation] |
(BOOL) | - prefersStatusBarHidden [implementation] |
Whether the status bar is preferred hidden. More... | |
(std::shared_ptr< flutter::FlutterPlatformViewsController > &) | - platformViewsController [implementation] |
(void) | - sendOnChannel:message: [implementation] |
(void) | - sendOnChannel:message:binaryReply: [implementation] |
(NSObject< FlutterTaskQueue > *) | - makeBackgroundTaskQueue [implementation] |
TODO(gaaclarke): Remove optional when macos supports Background Platform Channels. More... | |
(FlutterBinaryMessengerConnection) | - setMessageHandlerOnChannel:binaryMessageHandler: [implementation] |
(FlutterBinaryMessengerConnection) | - setMessageHandlerOnChannel:binaryMessageHandler:taskQueue: [implementation] |
(void) | - cleanUpConnection: [implementation] |
(int64_t) | - registerTexture: [implementation] |
(void) | - unregisterTexture: [implementation] |
(void) | - textureFrameAvailable: [implementation] |
(NSObject< FlutterPluginRegistrar > *) | - registrarForPlugin: [implementation] |
(BOOL) | - hasPlugin: [implementation] |
(NSObject *) | - valuePublishedByPlugin: [implementation] |
(void) | - presentViewController:animated:completion: [implementation] |
(BOOL) | - isPresentingViewController [implementation] |
() | - ios [implementation] |
(BOOL) | - gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer: [implementation] |
(BOOL) | - gestureRecognizer:shouldReceiveEvent: [implementation] |
(void) | - hoverEvent: [implementation] |
(void) | - discreteScrollEvent: [implementation] |
(void) | - continuousScrollEvent: [implementation] |
(void) | - pinchEvent: [implementation] |
(void) | - encodeRestorableStateWithCoder: [implementation] |
(void) | - decodeRestorableStateWithCoder: [implementation] |
(FlutterRestorationPlugin *) | - restorationPlugin [implementation] |
(BOOL) | - isDispatchingKeyEvent: [implementation] |
(void) | - viewWillAppear [implementation] |
(void) | - viewWillDisappear [implementation] |
(void) | - setMouseTrackingMode: [implementation] |
(void) | - setBackgroundColor: [implementation] |
(void) | - notifySemanticsEnabledChanged [implementation] |
(std::weak_ptr< flutter::AccessibilityBridgeMac >) | - accessibilityBridge [implementation] |
(void) | - setUpWithEngine:viewIdentifier:threadSynchronizer: [implementation] |
(void) | - detachFromEngine [implementation] |
(void) | - updateSemantics: [implementation] |
(BOOL) | - launchEngine [implementation] |
(void) | - listenForMetaModifiedKeyUpEvents [implementation] |
(void) | - configureTrackingArea [implementation] |
(void) | - initializeKeyboard [implementation] |
(void) | - dispatchMouseEvent: [implementation] |
(void) | - dispatchGestureEvent: [implementation] |
(void) | - dispatchMouseEvent:phase: [implementation] |
(void) | - onAccessibilityStatusChanged: [implementation] |
(std::shared_ptr< flutter::AccessibilityBridgeMac >) | - createAccessibilityBridgeWithEngine: [implementation] |
(nonnull FlutterView *) | - createFlutterViewWithMTLDevice:commandQueue: [implementation] |
(void) | - onKeyboardLayoutChanged [implementation] |
(void) | - viewDidReshape: [implementation] |
(BOOL) | - viewShouldAcceptFirstResponder: [implementation] |
(void) | - sendKeyEvent:callback:userData: [implementation] |
(id< FlutterBinaryMessenger >) | - getBinaryMessenger [implementation] |
(BOOL) | - onTextInputKeyEvent: [implementation] |
(void) | - subscribeToKeyboardLayoutChange: [implementation] |
(LayoutClue) | - lookUpLayoutForKeyCode:shift: [implementation] |
(nonnull NSDictionary *) | - getPressedState [implementation] |
(BOOL) | - acceptsFirstResponder [implementation] |
(void) | - keyDown: [implementation] |
(void) | - keyUp: [implementation] |
(void) | - flagsChanged: [implementation] |
(void) | - mouseEntered: [implementation] |
(void) | - mouseExited: [implementation] |
(void) | - mouseDown: [implementation] |
(void) | - mouseUp: [implementation] |
(void) | - mouseDragged: [implementation] |
(void) | - rightMouseDown: [implementation] |
(void) | - rightMouseUp: [implementation] |
(void) | - rightMouseDragged: [implementation] |
(void) | - otherMouseDown: [implementation] |
(void) | - otherMouseUp: [implementation] |
(void) | - otherMouseDragged: [implementation] |
(void) | - mouseMoved: [implementation] |
(void) | - scrollWheel: [implementation] |
(void) | - magnifyWithEvent: [implementation] |
(void) | - rotateWithEvent: [implementation] |
(void) | - swipeWithEvent: [implementation] |
(void) | - touchesBeganWithEvent: [implementation] |
(UIHoverGestureRecognizer *hoverGestureRecognizer) | - API_AVAILABLE [implementation] |
(UIPanGestureRecognizer *discreteScrollingPanGestureRecognizer) | - API_AVAILABLE [implementation] |
(UIPanGestureRecognizer *continuousScrollingPanGestureRecognizer) | - API_AVAILABLE [implementation] |
(UIPinchGestureRecognizer *pinchGestureRecognizer) | - API_AVAILABLE [implementation] |
(UIRotationGestureRecognizer *rotationGestureRecognizer) | - API_AVAILABLE [implementation] |
(int64_t) | - registerTexture: |
(void) | - textureFrameAvailable: |
(void) | - unregisterTexture: |
Instance Methods inherited from <FlutterPluginRegistry> | |
(nullable NSObject< FlutterPluginRegistrar > *) | - registrarForPlugin: |
(BOOL) | - hasPlugin: |
(nullable NSObject *) | - valuePublishedByPlugin: |
(nonnull id< FlutterPluginRegistrar >) | - registrarForPlugin: |
(nullable NSObject *) | - valuePublishedByPlugin: |
Instance Methods inherited from <FlutterBinaryMessenger> | |
(NSObject< FlutterTaskQueue > *) | - makeBackgroundTaskQueue |
TODO(gaaclarke): Remove optional when macos supports Background Platform Channels. More... | |
(FlutterBinaryMessengerConnection) | - setMessageHandlerOnChannel:binaryMessageHandler:taskQueue: |
(void) | - sendOnChannel:message: |
(void) | - sendOnChannel:message:binaryReply: |
(FlutterBinaryMessengerConnection) | - setMessageHandlerOnChannel:binaryMessageHandler: |
(void) | - cleanUpConnection: |
Instance Methods inherited from <FlutterViewResponder> | |
(void) | - touchesBegan:withEvent: |
(void) | - touchesMoved:withEvent: |
(void) | - touchesEnded:withEvent: |
(void) | - touchesCancelled:withEvent: |
(void) | - touchesEstimatedPropertiesUpdated: |
(void) | - forceTouchesCancelled: |
Instance Methods inherited from <FlutterKeyboardViewDelegate> | |
(void) | - sendKeyEvent:callback:userData: |
(nonnull id< FlutterBinaryMessenger >) | - getBinaryMessenger |
(BOOL) | - onTextInputKeyEvent: |
(void) | - subscribeToKeyboardLayoutChange: |
(flutter::LayoutClue) | - lookUpLayoutForKeyCode:shift: |
(nonnull NSDictionary *) | - getPressedState |
Class Methods | |
(BOOL) | + isUIAccessibilityIsVoiceOverRunning |
(static UIView *) | + GetViewOrPlaceholder [implementation] |
(static void) | + SendFakeTouchEvent [implementation] |
(BOOL) | + automaticallyNotifiesObserversOfDisplayingFlutterUI [implementation] |
(static flutter::PointerData::Change) | + PointerDataChangeFromUITouchPhase [implementation] |
(static flutter::PointerData::DeviceKind) | + DeviceKindFromTouchType [implementation] |
(BOOL) | + accessibilityIsOnOffSwitchLabelsEnabled [implementation] |
(static void) | + CommonInit [implementation] |
(static NSData *) | + CurrentKeyboardLayoutData [implementation] |
A UIViewController
implementation for Flutter views.
Dart execution, channel communication, texture registration, and plugin registration are all handled by FlutterEngine
. Calls on this class to those members all proxy through to the FlutterEngine
attached FlutterViewController.
A FlutterViewController can be initialized either with an already-running FlutterEngine
via the initWithEngine:
initializer, or it can be initialized with a FlutterDartProject
that will be used to implicitly spin up a new FlutterEngine
. Creating a FlutterEngine
before showing a FlutterViewController can be used to pre-initialize the Dart VM and to prepare the isolate in order to reduce the latency to the first rendered frame. See https://flutter.dev/docs/development/add-to-app/performance for more details on loading latency.
Holding a FlutterEngine
independently of FlutterViewControllers can also be used to not to lose Dart-related state and asynchronous tasks when navigating back and forth between a FlutterViewController and other UIViewController
s.
Controls a view that displays Flutter content and manages input.
A FlutterViewController works with a FlutterEngine. Upon creation, the view controller is always added to an engine, either a given engine, or it implicitly creates an engine and add itself to that engine.
The FlutterEngine assigns each view controller attached to it a unique ID. Each view controller corresponds to a view, and the ID is used by the framework to specify which view to operate.
A FlutterViewController can also be unattached to an engine after it is manually unset from the engine, or transiently during the initialization process. An unattached view controller is invalid. Whether the view controller is attached can be queried using attached (FlutterViewController).
The FlutterViewController strongly references the FlutterEngine, while the engine weakly the view controller. When a FlutterViewController is deallocated, it automatically removes itself from its attached engine. When a FlutterEngine has no FlutterViewControllers attached, it might shut down itself or not depending on its configuration.
Definition at line 56 of file FlutterViewController.h.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Creates and registers plugins used by this view controller.
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
- (BOOL) attached |
Return YES if the view controller is attached to an engine.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Clears out a channel's message handler if that handler is still the one that was created as a result of setMessageHandlerOnChannel:binaryMessageHandler:
.
connection | The result from setMessageHandlerOnChannel:binaryMessageHandler: . |
Reimplemented from <FlutterBinaryMessenger>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Performs initialization that's common between the different init paths.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Updates |trackingArea| for the current tracking settings, creating it with the correct mode if tracking is enabled, or removing it if not.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Reimplemented in AccessibilityBridgeTestViewController.
Provided by category FlutterViewController(TestMethods).
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Reimplemented in TextInputTestViewController.
Provided by category FlutterViewController(TestMethods).
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Returns the current Unicode layout data (kTISPropertyUnicodeKeyLayoutData).
To use the returned data, convert it to CFDataRef first, finds its bytes with CFDataGetBytePtr, then reinterpret it into const UCKeyboardLayout*. It's returned in NSData* to enable auto reference count.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Reset the engine
and id
of this controller.
This method is called by FlutterEngine.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Calls dispatchMouseEvent:phase: with a phase determined by event.phase.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Calls dispatchMouseEvent:phase: with a phase determined by self.mouseState.
mouseState.buttons should be updated before calling this method.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Send touches to the Flutter Engine while forcing the change type to be cancelled. The phase
s in touches
are ignored.
Reimplemented from <FlutterViewResponder>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 463 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Get a binary messenger to send channel messages with.
This method is used to create the key data channel and typically forwards to |FlutterEngine.binaryMessenger|.
Reimplemented from <FlutterKeyboardViewDelegate>.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Returns the keyboard pressed state.
Returns the keyboard pressed state. The dictionary contains one entry per pressed keys, mapping from the logical key to the physical key.
Reimplemented from <FlutterKeyboardViewDelegate>.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 463 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Returns whether the specified plugin has been registered.
pluginKey | The unique key identifying the plugin. |
YES
if registrarForPlugin
has been called with pluginKey
. Reimplemented from <FlutterPluginRegistry>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Reimplemented in ShareViewController.
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Creates and registers keyboard related components.
Definition at line 338 of file FlutterViewController.mm.
- (nonnull instancetype) initWithCoder: | (nonnull NSCoder *) | NS_DESIGNATED_INITIALIZER |
- (instancetype) initWithCoder: | (NSCoder*) | NS_DESIGNATED_INITIALIZER |
Initializer that is called from loading a FlutterViewController from a XIB.
See also: https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder?language=objc
Definition at line 152 of file FlutterViewController.mm.
- (instancetype) initWithEngine: | (FlutterEngine*) | engine | |
nibName: | (nullable NSString*) | nibName | |
bundle: | (nullable NSBundle*) | NS_DESIGNATED_INITIALIZER | |
Initializes this FlutterViewController with the specified FlutterEngine
.
The initialized viewcontroller will attach itself to the engine as part of this process.
engine | The FlutterEngine instance to attach to. Cannot be nil. |
nibName | The NIB name to initialize this UIViewController with. |
nibBundle | The NIB bundle. |
Definition at line 152 of file FlutterViewController.mm.
- (instancetype) initWithEngine: | (nonnull FlutterEngine*) | engine | |
nibName: | (nullable NSString*) | nibName | |
bundle: | (nullable NSBundle*) | NS_DESIGNATED_INITIALIZER | |
Initializes this FlutterViewController with an existing FlutterEngine
.
The initialized view controller will add itself to the engine as part of this process.
This initializer is suitable for both the first Flutter view controller and the following ones of the app.
engine | The FlutterEngine instance to attach to. Cannot be nil. |
nibName | The NIB name to initialize this controller with. |
nibBundle | The NIB bundle. |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
- (nonnull instancetype) initWithNibName: | (nullable NSString *) | nibNameOrNil | |
bundle: | (nullable NSBundle *) | NS_DESIGNATED_INITIALIZER | |
- (instancetype) initWithProject: | (nullable FlutterDartProject*) | NS_DESIGNATED_INITIALIZER |
Initializes a controller that will run the given project.
In this initializer, this controller creates an engine, and is attached to that engine as the default controller. In this way, this controller can not be set to other engines. This initializer is suitable for the first Flutter view controller of the app. To use the controller with an existing engine, use initWithEngine:nibName:bundle: instead.
project | The project to run in this view controller. If nil, a default FlutterDartProject will be used. |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
- (instancetype) initWithProject: | (nullable FlutterDartProject *) | project | |
initialRoute: | (nullable NSString *) | initialRoute | |
nibName: | (nullable NSString *) | nibName | |
bundle: | (nullable NSBundle *) | NS_DESIGNATED_INITIALIZER | |
Initializes a new FlutterViewController and FlutterEngine
with the specified FlutterDartProject
and initialRoute
.
This will implicitly create a new FlutterEngine
which is retrievable via the engine
property after initialization.
project | The FlutterDartProject to initialize the FlutterEngine with. |
initialRoute | The initial Navigator route to load. |
nibName | The NIB name to initialize this UIViewController with. |
nibBundle | The NIB bundle. |
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
- (instancetype) initWithProject: | (nullable FlutterDartProject *) | project | |
nibName: | (nullable NSString *) | nibName | |
bundle: | (nullable NSBundle *) | NS_DESIGNATED_INITIALIZER | |
Initializes a new FlutterViewController and FlutterEngine
with the specified FlutterDartProject
.
This will implicitly create a new FlutterEngine
which is retrievable via the engine
property after initialization.
project | The FlutterDartProject to initialize the FlutterEngine with. |
nibName | The NIB name to initialize this UIViewController with. |
nibBundle | The NIB bundle. |
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
+ (BOOL) isUIAccessibilityIsVoiceOverRunning |
A wrapper around UIAccessibilityIsVoiceOverRunning().
As a C function, UIAccessibilityIsVoiceOverRunning() cannot be mocked in testing. Mock this class method to testing features depends on UIAccessibilityIsVoiceOverRunning().
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Starts running |engine|, including any initial setup.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
- (BOOL) loadDefaultSplashScreenView |
Attempts to set the splashScreenView
property from the UILaunchStoryboardName
from the main bundle's Info.plist
file. This method will not change the value of splashScreenView
if it cannot find a default one from a storyboard or nib.
YES
if successful, NO
otherwise. Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 463 of file FlutterViewController.mm.
- (nonnull NSString *) lookupKeyForAsset: | (nonnull NSString *) | asset |
Returns the file name for the given asset. The returned file name can be used to access the asset in the application's main bundle.
asset | The name of the asset. The name can be hierarchical. |
- (NSString *) lookupKeyForAsset: | (NSString*) | asset |
Returns the file name for the given asset. The returned file name can be used to access the asset in the application's main bundle.
asset | The name of the asset. The name can be hierarchical. |
Definition at line 1112 of file FlutterViewController.mm.
- (nonnull NSString *) lookupKeyForAsset: | (nonnull NSString *) | asset | |
fromPackage: | (nonnull NSString *) | package | |
Returns the file name for the given asset which originates from the specified package. The returned file name can be used to access the asset in the application's main bundle.
asset | The name of the asset. The name can be hierarchical. |
package | The name of the package from which the asset originates. |
- (NSString *) lookupKeyForAsset: | (NSString*) | asset | |
fromPackage: | (NSString*) | package | |
Returns the file name for the given asset which originates from the specified package. The returned file name can be used to access the asset in the application's main bundle.
asset | The name of the asset. The name can be hierarchical. |
package | The name of the package from which the asset originates. |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Querying the printable result of a key under the given modifier state.
Reimplemented from <FlutterKeyboardViewDelegate>.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
TODO(gaaclarke): Remove optional when macos supports Background Platform Channels.
Reimplemented from <FlutterBinaryMessenger>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Reimplemented in MouseEventFlutterViewController.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Reimplemented in MouseEventFlutterViewController.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Called by the associated FlutterEngine when FlutterEngine::semanticsEnabled has changed.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(TestMethods).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Called when the active keyboard input source changes.
Input sources may be simple keyboard layouts, or more complex input methods involving an IME, such as Chinese, Japanese, and Korean.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
- (void) onPreEngineRestart |
Invoked by the engine right before the engine is restarted.
This should reset states to as if the application has just started. It usually indicates a hot restart (Shift-R in Flutter CLI.)
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Dispatch events that are not handled by the keyboard event handlers to the text input handler.
This method typically forwards events to |TextInputPlugin.handleKeyEvent|.
Reimplemented from <FlutterKeyboardViewDelegate>.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
- (id< FlutterPluginRegistry >) pluginRegistry |
The FlutterPluginRegistry
used by this FlutterViewController.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1090 of file FlutterViewController.mm.
- (void) popRoute |
Instructs the Flutter Navigator (if any) to go back.
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Whether the status bar is preferred hidden.
This overrides the |UIViewController:prefersStatusBarHidden|. This is ignored when `UIViewControllerBasedStatusBarAppearance` in info.plist of the app project is `false`.
Reimplemented in NoStatusBarFlutterViewController.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
- (void) pushRoute: | (NSString*) | route |
Instructs the Flutter Navigator (if any) to push a route on to the navigation stack.
route | The name of the route to push to the navigation stack. |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Registers a FlutterTexture
for usage in Flutter and returns an id that can be used to reference that texture when calling into Flutter with channels. Textures must be registered on the platform thread. On success returns the pointer to the registered texture, else returns 0.
Reimplemented from <FlutterTextureRegistry>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Returns a registrar for registering a plugin.
pluginKey | The unique key identifying the plugin. |
Reimplemented from <FlutterPluginRegistry>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Dispatch events to the framework to be processed by |HardwareKeyboard|.
This method typically forwards events to |FlutterEngine.sendKeyEvent:callback:userData:|.
Reimplemented from <FlutterKeyboardViewDelegate>.
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
- (void) setFlutterViewDidRenderCallback: | (void(^)(void)) | callback |
Registers a callback that will be invoked when the Flutter view has been rendered. The callback will be fired only once.
Replaces an existing callback. Use a nil
callback to unregister the existing one.
Definition at line 527 of file FlutterViewController.mm.
- (void) setInitialRoute: | ("Use FlutterViewController initializer to specify initial route") | FLUTTER_DEPRECATED |
Deprecated API to set initial route.
Attempts to set the first route that the Flutter app shows if the Flutter runtime hasn't yet started. The default is "/".
This method must be called immediately after initWithProject
and has no effect when using initWithEngine
if the FlutterEngine
has already been run.
Setting this after the Flutter started running has no effect. See pushRoute
and popRoute
to change the route after Flutter started running.
This is deprecated because it needs to be called at the time of initialization and thus should just be in the initWithProject
initializer. If using initWithEngine
, the initial route should be set on the engine's initializer.
route | The name of the first route to show. |
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Reimplemented from <FlutterBinaryMessenger>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 152 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Notifies Flutter that the content of the previously registered texture has been updated.
This will trigger a call to -[FlutterTexture copyPixelBuffer]
on the raster thread.
Reimplemented from <FlutterTextureRegistry>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
See -[UIResponder touchesBegan:withEvent:]
Reimplemented from <FlutterViewResponder>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 891 of file FlutterViewController.mm.
|
implementation |
See -[UIResponder touchesCancelled:withEvent:]
Reimplemented from <FlutterViewResponder>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
See -[UIResponder touchesEnded:withEvent:]
Reimplemented from <FlutterViewResponder>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
See -[UIResponder touchesMoved:withEvent:]
Reimplemented from <FlutterViewResponder>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Unregisters a FlutterTexture
that has previously regeistered with registerTexture:
. Textures must be unregistered on the platform thread.
textureId | The result that was previously returned from registerTexture: . |
Reimplemented from <FlutterTextureRegistry>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Provided by category FlutterViewController(Tests).
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Returns a value published by the specified plugin.
pluginKey | The unique key identifying the plugin. |
NSNull
if nothing has been published. Will be nil
if the plugin has not been registered. Reimplemented from <FlutterPluginRegistry>.
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Responds to view reshape by notifying the engine of the change in dimensions.
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 1112 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 338 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
implementation |
Definition at line 527 of file FlutterViewController.mm.
|
readwritenonatomiccopy |
The contentView (FlutterView)'s background color is set to black during its instantiation.
The containing layer's color can be set to the NSColor provided to this method.
For example, the background may be set after the FlutterViewController is instantiated in MainFlutterWindow.swift in the Flutter project.
Definition at line 210 of file FlutterViewController.h.
|
readnonatomicassign |
The FlutterBinaryMessenger
associated with this FlutterViewController (used for communicating with channels).
This is just a convenient way to get the |FlutterEngine|'s binary messenger.
Definition at line 243 of file FlutterViewController.h.
|
readnonatomicassign |
True if at least one frame has rendered and the ViewController has appeared.
This property is reset to false when the ViewController disappears. It is guaranteed to only alternate between true and false for observers.
Definition at line 197 of file FlutterViewController.h.
|
readnonatomicassign |
The FlutterEngine
instance for this view controller. This could be the engine this FlutterViewController
is initialized with or a new FlutterEngine
implicitly created if no engine was supplied during initialization.
The Flutter engine associated with this view controller.
Definition at line 235 of file FlutterViewController.h.
|
readnonatomicassign |
If the FlutterViewController
creates a FlutterEngine
, this property determines if that FlutterEngine
has allowHeadlessExecution
set.
The intention is that this is used with the XIB. Otherwise, a FlutterEngine
can just be sent to the init methods.
See also: -[FlutterEngine initWithName:project:allowHeadlessExecution:]
Definition at line 254 of file FlutterViewController.h.
|
readnonatomicassignimplementation |
Definition at line 20 of file FlutterViewController_Internal.h.
|
readwritenonatomicassignimplementation |
Definition at line 68 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Provided by category FlutterViewController(Tests).
Definition at line 84 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Definition at line 69 of file FlutterViewController.mm.
|
readnonatomicassignimplementation |
Definition at line 48 of file FlutterViewController_Internal.h.
|
readwritenonatomicassignimplementation |
Provided by category FlutterViewController(Tests).
Definition at line 82 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Definition at line 83 of file FlutterViewController.mm.
|
readwritenonatomicretainimplementation |
Provided by category FlutterViewController(Tests).
Definition at line 81 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Definition at line 189 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Definition at line 187 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Pointer to a keyboard manager, a hub that manages how key events are dispatched to various Flutter key responders, and whether the event is propagated to the next NSResponder.
Definition at line 49 of file FlutterViewController_Internal.h.
|
readwritenonatomicassignimplementation |
Event monitor for keyUp events.
Definition at line 178 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
The current state of the mouse and the sent mouse events.
Definition at line 173 of file FlutterViewController.mm.
|
readwritenonatomicassign |
The style of mouse tracking to use for the view. Defaults to FlutterMouseTrackingModeInKeyWindow.
Definition at line 84 of file FlutterViewController.h.
|
readwritenonatomicassignimplementation |
Definition at line 80 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
Whether we should ignore viewport metrics updates during rotation transition.
Definition at line 74 of file FlutterViewController.mm.
|
readwritenonatomicstrong |
Specifies the view to use as a splash screen. Flutter's rendering is asynchronous, so the first frame rendered by the Flutter application might not immediately appear when the Flutter view is initially placed in the view hierarchy. The splash screen view will be used as a replacement until the first frame is rendered.
The view used should be appropriate for multiple sizes; an autoresizing mask to have a flexible width and height will be applied automatically.
Set to nil to remove the splash screen view.
Definition at line 210 of file FlutterViewController.h.
|
readwritenonatomicassignimplementation |
Keyboard animation properties
Provided by category FlutterViewController(Tests).
Definition at line 79 of file FlutterViewController.mm.
|
readnonatomicassignimplementation |
The text input plugin that handles text editing state for text fields.
Definition at line 25 of file FlutterViewController_Internal.h.
|
readwritenonatomicretainimplementation |
VSyncClient for touch events delivery frame rate correction.
On promotion devices(eg: iPhone13 Pro), the delivery frame rate of touch events is 60HZ but the frame rate of rendering is 120HZ, which is different and will leads jitter and laggy. With this VSyncClient, it can correct the delivery frame rate of touch events to let it keep the same with frame rate of rendering.
Provided by category FlutterViewController(Tests).
Definition at line 92 of file FlutterViewController.mm.
|
readwritenonatomicassignimplementation |
The tracking area used to generate hover events, if enabled.
Definition at line 168 of file FlutterViewController.mm.
|
readnonatomicassign |
The identifier for this view controller, if it is attached.
The identifier is assigned when the view controller is attached to a FlutterEngine
.
If the view controller is detached (see FlutterViewController#attached
), reading this property throws an assertion.
Definition at line 130 of file FlutterViewController.h.
|
readwritenonatomicassign |
Controls whether the created view will be opaque or not.
Default is YES
. Note that setting this to NO
may negatively impact performance when using hardware acceleration, and toggling this will trigger a re-layout of the view.
Definition at line 228 of file FlutterViewController.h.