Flutter iOS Embedder
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
FlutterViewController.mm File Reference
#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/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 FLUTTER_ASSERT_ARC int kMicrosecondsPerSecond = 1000 * 1000
 
static constexpr CGFloat kScrollViewContentSize = 2.0
 
static NSString *const kFlutterRestorationStateAppData = @"@"FlutterRestorationStateAppData"
 
NSNotificationName const FlutterSemanticsUpdateNotification = @"@"FlutterSemanticsUpdate"
 
NSNotificationName const FlutterViewControllerWillDealloc = @"@"FlutterViewControllerWillDealloc"
 
NSNotificationName const FlutterViewControllerHideHomeIndicator
 
NSNotificationName const FlutterViewControllerShowHomeIndicator
 
MouseState _mouseState
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file FlutterViewController.mm.

Typedef Documentation

◆ MouseState

typedef struct MouseState MouseState

Variable Documentation

◆ _mouseState

MouseState _mouseState
Initial value:
{
flutter::ViewportMetrics _viewportMetrics

Definition at line 160 of file FlutterViewController.mm.

◆ 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 43 of file FlutterViewController.mm.

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

◆ FlutterViewControllerHideHomeIndicator

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

Definition at line 45 of file FlutterViewController.mm.

◆ FlutterViewControllerShowHomeIndicator

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

Definition at line 47 of file FlutterViewController.mm.

◆ FlutterViewControllerWillDealloc

NSNotificationName const FlutterViewControllerWillDealloc = @"@"FlutterViewControllerWillDealloc"

◆ kFlutterRestorationStateAppData

NSString* const kFlutterRestorationStateAppData = @"@"FlutterRestorationStateAppData"
static

Definition at line 41 of file FlutterViewController.mm.

◆ kMicrosecondsPerSecond

constexpr FLUTTER_ASSERT_ARC int kMicrosecondsPerSecond = 1000 * 1000
staticconstexpr

Definition at line 38 of file FlutterViewController.mm.

◆ kScrollViewContentSize

constexpr CGFloat kScrollViewContentSize = 2.0
staticconstexpr

Definition at line 39 of file FlutterViewController.mm.