| Flutter macOS Embedder |

FlutterViewProvider.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_FLUTTERVIEWPROVIDER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWPROVIDER_H_
7
8 #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h"
9
10 /**
11 * An interface to query FlutterView.
12 *
13 * See also:
14 *
15 * * FlutterViewEngineProvider, a typical implementation.
16 */
17 @protocol FlutterViewProvider
18
19 /**
20 * Get the FlutterView with the given view ID.
21 *
22 * Returns nil if the ID is invalid.
23 */
24 - (nullable FlutterView*)viewForIdentifier:(FlutterViewIdentifier)id;
25
26 @end
27
28 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWPROVIDER_H_
FlutterView.h
FlutterViewIdentifier
int64_t FlutterViewIdentifier
Definition: FlutterViewController.h:21
FlutterView
Definition: FlutterView.h:36
FlutterViewProvider-p
Definition: FlutterViewProvider.h:17