Flutter Engine
FlutterViewController.mm File Reference
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController_Internal.h"
#include <memory>
#include "flutter/fml/memory/weak_ptr.h"
#include "flutter/fml/message_loop.h"
#include "flutter/fml/platform/darwin/platform_version.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#include "flutter/runtime/ptrace_check.h"
#include "flutter/shell/common/thread_host.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterBinaryMessengerRelay.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterEngine_Internal.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterView.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h"
#import "flutter/shell/platform/darwin/ios/platform_view_ios.h"

Go to the source code of this file.

Classes

category  UITraitCollection(MethodsFromNewerSDK)
 

Macros

#define FML_USED_ON_EMBEDDER
 

Typedefs

typedef enum UIAccessibilityContrast UIAccessibilityContrast
 

Enumerations

enum  UIAccessibilityContrast : NSInteger {
  UIAccessibilityContrastUnspecified = 0,
  UIAccessibilityContrastNormal = 1,
  UIAccessibilityContrastHigh = 2,
  UIAccessibilityContrastUnspecified = 0,
  UIAccessibilityContrastNormal = 1,
  UIAccessibilityContrastHigh = 2
}
 

Variables

static constexpr int kMicrosecondsPerSecond = 1000 * 1000
 
static constexpr CGFloat kScrollViewContentSize = 2.0
 
NSNotificationName const FlutterSemanticsUpdateNotification = @"@"FlutterSemanticsUpdate"
 
NSNotificationName const FlutterViewControllerWillDealloc = @"@"FlutterViewControllerWillDealloc"
 
NSNotificationName const FlutterViewControllerHideHomeIndicator
 
NSNotificationName const FlutterViewControllerShowHomeIndicator
 
fml::scoped_nsobject< FlutterEngine_engine
 
fml::scoped_nsobject< FlutterView_flutterView
 
fml::scoped_nsobject< UIView > _splashScreenView
 
fml::ScopedBlock< void(^)(void)> _flutterViewRenderedCallback
 
UIInterfaceOrientationMask _orientationPreferences
 
UIStatusBarStyle _statusBarStyle
 
flutter::ViewportMetrics _viewportMetrics
 
BOOL _initialized
 
BOOL _viewOpaque
 
BOOL _engineNeedsLaunch
 
fml::scoped_nsobject< NSMutableSet< NSNumber * > > _ongoingTouches
 
fml::scoped_nsobject< UIScrollView > _scrollView
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file FlutterViewController.mm.

Typedef Documentation

◆ UIAccessibilityContrast

Enumeration Type Documentation

◆ UIAccessibilityContrast

enum UIAccessibilityContrast : NSInteger
Enumerator
UIAccessibilityContrastUnspecified 
UIAccessibilityContrastNormal 
UIAccessibilityContrastHigh 
UIAccessibilityContrastUnspecified 
UIAccessibilityContrastNormal 
UIAccessibilityContrastHigh 

Definition at line 49 of file FlutterViewController.mm.

Variable Documentation

◆ _engine

◆ _engineNeedsLaunch

◆ _flutterView

◆ _flutterViewRenderedCallback

fml::ScopedBlock<void (^)(void)> _flutterViewRenderedCallback

◆ _initialized

BOOL _initialized

Definition at line 72 of file FlutterViewController.mm.

Referenced by FlutterViewController::initWithCoder:.

◆ _ongoingTouches

◆ _orientationPreferences

UIInterfaceOrientationMask _orientationPreferences

◆ _scrollView

◆ _splashScreenView

◆ _statusBarStyle

UIStatusBarStyle _statusBarStyle

◆ _viewOpaque

◆ _viewportMetrics

◆ FlutterSemanticsUpdateNotification

NSNotificationName const FlutterSemanticsUpdateNotification = @"@"FlutterSemanticsUpdate"

The name used for semantic update notifications via NSNotificationCenter.

The object passed as the sender is the FlutterViewController associated with the update.

Definition at line 30 of file FlutterViewController.mm.

Referenced by flutter::PlatformViewIOS::SetSemanticsEnabled().

◆ FlutterViewControllerHideHomeIndicator

NSNotificationName const FlutterViewControllerHideHomeIndicator
Initial value:
=
@"@"FlutterViewControllerHideHomeIndicator"

Definition at line 32 of file FlutterViewController.mm.

◆ FlutterViewControllerShowHomeIndicator

NSNotificationName const FlutterViewControllerShowHomeIndicator
Initial value:
=
@"@"FlutterViewControllerShowHomeIndicator"

Definition at line 34 of file FlutterViewController.mm.

◆ FlutterViewControllerWillDealloc

NSNotificationName const FlutterViewControllerWillDealloc = @"@"FlutterViewControllerWillDealloc"

◆ kMicrosecondsPerSecond

constexpr int kMicrosecondsPerSecond = 1000 * 1000
static

◆ kScrollViewContentSize

constexpr CGFloat kScrollViewContentSize = 2.0
static