Flutter iOS Embedder
FlutterOverlayView.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTER_OVERLAY_VIEW_H_
6
#define SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTER_OVERLAY_VIEW_H_
7
8
#include <UIKit/UIKit.h>
9
10
#include <memory>
11
12
#include "flutter/fml/memory/weak_ptr.h"
13
#include "flutter/shell/common/shell.h"
14
#import "
flutter/shell/platform/darwin/ios/ios_surface.h
"
15
16
#import "
flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.h
"
17
18
/// UIViews that are used by |FlutterPlatformViews| to present Flutter
19
/// rendering on top of system compositor rendering (ex. a web view).
20
///
21
/// When there is a view composited by the system compositor within a Flutter
22
/// view hierarchy, instead of rendering into a single render target, Flutter
23
/// renders into multiple render targets (depending on the number of
24
/// interleaving levels between Flutter & non-Flutter contents). While the
25
/// FlutterView contains the backing store for the root render target, the
26
/// FlutterOverlay view contains the backing stores for the rest. The overlay
27
/// views also handle touch propagation and the like for touches that occurs
28
/// either on overlays or otherwise may be intercepted by the platform views.
29
@interface
FlutterOverlayView
: UIView
30
31
- (instancetype)
initWithFrame
:(CGRect)frame NS_UNAVAILABLE;
32
- (instancetype)
initWithCoder
:(NSCoder*)aDecoder NS_UNAVAILABLE;
33
34
- (instancetype)init
NS_DESIGNATED_INITIALIZER
;
35
- (instancetype)initWithContentsScale:(CGFloat)contentsScale;
36
37
@end
38
39
#endif // SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTER_OVERLAY_VIEW_H_
initWithFrame
instancetype initWithFrame
Definition:
FlutterTextInputPlugin.h:164
ios_surface.h
-[FlutterOverlayView NS_DESIGNATED_INITIALIZER]
instancetype NS_DESIGNATED_INITIALIZER()
FlutterPlatformViews_Internal.h
initWithCoder
instancetype initWithCoder
Definition:
FlutterTextInputPlugin.h:163
FlutterOverlayView
Definition:
FlutterOverlayView.h:29
shell
platform
darwin
ios
framework
Source
FlutterOverlayView.h
Generated by
1.8.17