#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController_Internal.h"
#import <os/log.h>
#include <memory>
#include "flutter/common/constants.h"
#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/common/framework/Source/FlutterBinaryMessengerRelay.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterChannelKeyResponder.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterEmbedderKeyResponder.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterEngine_Internal.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterKeyPrimaryResponder.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterKeyboardManager.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.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/UIViewController+FlutterScreenAndSceneIfLoaded.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.h"
#import "flutter/shell/platform/darwin/ios/platform_view_ios.h"
#import "flutter/shell/platform/embedder/embedder.h"
#import "flutter/third_party/spring_animation/spring_animation.h"
Go to the source code of this file.
Classes | |
struct | MouseState |
Macros | |
#define | FML_USED_ON_EMBEDDER |
Typedefs | |
typedef struct MouseState | MouseState |
Variables | |
static constexpr int | kMicrosecondsPerSecond = 1000 * 1000 |
static constexpr CGFloat | kScrollViewContentSize = 2.0 |
static NSString *const | kFlutterRestorationStateAppData = @"@"FlutterRestorationStateAppData" |
const NSNotificationName | FlutterSemanticsUpdateNotification = @"@"FlutterSemanticsUpdate" |
const NSNotificationName | FlutterViewControllerWillDealloc = @"@"FlutterViewControllerWillDealloc" |
const NSNotificationName | FlutterViewControllerHideHomeIndicator |
const NSNotificationName | 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 |
fml::scoped_nsobject< UIView > | _keyboardAnimationView |
fml::scoped_nsobject< SpringAnimation > | _keyboardSpringAnimation |
MouseState | _mouseState |
NSTimeInterval | _scrollInertiaEventStartline |
NSTimeInterval | _scrollInertiaEventAppKitDeadline |
#define FML_USED_ON_EMBEDDER |
Definition at line 5 of file FlutterViewController.mm.
typedef struct MouseState MouseState |
fml::scoped_nsobject<FlutterEngine> _engine |
Definition at line 120 of file FlutterViewController.mm.
Referenced by FlutterPlatformPlugin::initWithEngine:, FlutterViewController::initWithEngine:nibName:bundle:, and FlutterViewController::pluginRegistry.
BOOL _engineNeedsLaunch |
Definition at line 134 of file FlutterViewController.mm.
Referenced by FlutterViewController::initWithEngine:nibName:bundle:.
fml::scoped_nsobject<FlutterView> _flutterView |
Definition at line 126 of file FlutterViewController.mm.
Referenced by FlutterViewController::initWithEngine:nibName:bundle:.
fml::ScopedBlock<void (^)(void)> _flutterViewRenderedCallback |
Definition at line 128 of file FlutterViewController.mm.
Referenced by FlutterViewController::setFlutterViewDidRenderCallback:.
BOOL _initialized |
Definition at line 132 of file FlutterViewController.mm.
fml::scoped_nsobject<UIView> _keyboardAnimationView |
Definition at line 141 of file FlutterViewController.mm.
fml::scoped_nsobject<SpringAnimation> _keyboardSpringAnimation |
Definition at line 142 of file FlutterViewController.mm.
MouseState _mouseState |
Definition at line 143 of file FlutterViewController.mm.
fml::scoped_nsobject<NSMutableSet<NSNumber*> > _ongoingTouches |
Definition at line 135 of file FlutterViewController.mm.
Referenced by FlutterViewController::initWithEngine:nibName:bundle:.
UIInterfaceOrientationMask _orientationPreferences |
Definition at line 129 of file FlutterViewController.mm.
NSTimeInterval _scrollInertiaEventAppKitDeadline |
Definition at line 152 of file FlutterViewController.mm.
NSTimeInterval _scrollInertiaEventStartline |
Definition at line 145 of file FlutterViewController.mm.
fml::scoped_nsobject<UIScrollView> _scrollView |
Definition at line 140 of file FlutterViewController.mm.
fml::scoped_nsobject<UIView> _splashScreenView |
Definition at line 127 of file FlutterViewController.mm.
UIStatusBarStyle _statusBarStyle |
Definition at line 130 of file FlutterViewController.mm.
BOOL _viewOpaque |
Definition at line 133 of file FlutterViewController.mm.
Referenced by FlutterViewController::initWithEngine:nibName:bundle:.
flutter::ViewportMetrics _viewportMetrics |
Definition at line 131 of file FlutterViewController.mm.
const NSNotificationName 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 42 of file FlutterViewController.mm.
const NSNotificationName FlutterViewControllerHideHomeIndicator |
Definition at line 44 of file FlutterViewController.mm.
const NSNotificationName FlutterViewControllerShowHomeIndicator |
Definition at line 46 of file FlutterViewController.mm.
const NSNotificationName FlutterViewControllerWillDealloc = @"@"FlutterViewControllerWillDealloc" |
Definition at line 43 of file FlutterViewController.mm.
Referenced by flutter::PlatformViewIOS::SetOwnerViewController().
|
static |
Definition at line 40 of file FlutterViewController.mm.
|
staticconstexpr |
Definition at line 37 of file FlutterViewController.mm.
|
staticconstexpr |
Definition at line 38 of file FlutterViewController.mm.