| Flutter macOS Embedder |

FlutterViewEngineProvider.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 #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h"
6
7 @class FlutterEngine;
8
9 /**
10 * A facade over FlutterEngine that allows FlutterEngine's children components
11 * to query FlutterView.
12 *
13 * FlutterViewProvider only holds a weak reference to FlutterEngine.
14 */
15 @interface FlutterViewEngineProvider : NSObject <FlutterViewProvider>
16
17 /**
18 * Create a FlutterViewProvider with the underlying engine.
19 */
20 - (nonnull instancetype)initWithEngine:(nonnull __weak FlutterEngine*)engine;
21
22 @end
FlutterEngine
Definition: FlutterEngine.h:30
FlutterViewProvider.h
FlutterViewEngineProvider
Definition: FlutterViewEngineProvider.h:15
FlutterViewProvider-p
Definition: FlutterViewProvider.h:14