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 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_
7 
9 
10 @class FlutterEngine;
11 
12 /**
13  * A facade over FlutterEngine that allows FlutterEngine's children components
14  * to query FlutterView.
15  *
16  * FlutterViewProvider only holds a weak reference to FlutterEngine.
17  */
19 
20 /**
21  * Create a FlutterViewProvider with the underlying engine.
22  */
23 - (nonnull instancetype)initWithEngine:(nonnull __weak FlutterEngine*)engine;
24 
25 @end
26 
27 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_
FlutterEngine
Definition: FlutterEngine.h:30
FlutterViewProvider.h
FlutterViewEngineProvider
Definition: FlutterViewEngineProvider.h:18
FlutterViewProvider-p
Definition: FlutterViewProvider.h:17