Flutter Engine
The Flutter Engine
|
#import <FlutterViewEngineProvider.h>
Instance Methods | |
(nonnull instancetype) | - initWithEngine: |
(instancetype) | - initWithEngine: [implementation] |
(nullable FlutterView *) | - viewForIdentifier: [implementation] |
(nullable FlutterView *) | - viewForIdentifier: |
Protected Attributes | |
__weak FlutterEngine * | _engine |
A facade over FlutterEngine that allows FlutterEngine's children components to query FlutterView.
FlutterViewProvider only holds a weak reference to FlutterEngine.
Definition at line 18 of file FlutterViewEngineProvider.h.
|
implementation |
Definition at line 10 of file FlutterViewEngineProvider.mm.
- (nonnull instancetype) initWithEngine: | (nonnull __weak FlutterEngine *) | engine |
Create a FlutterViewProvider with the underlying engine.
|
implementation |
Get the FlutterView with the given view ID.
Returns nil if the ID is invalid.
Reimplemented from <FlutterViewProvider>.
Definition at line 10 of file FlutterViewEngineProvider.mm.
|
protected |
Definition at line 10 of file FlutterViewEngineProvider.mm.