Flutter Engine
The Flutter Engine
|
#import <TextPlatformView.h>
Instance Methods | |
(instancetype) | - initWithMessenger: |
(NSObject< FlutterPlatformView > *) | - createWithFrame:viewIdentifier:arguments: [implementation] |
(NSObject< FlutterMessageCodec > *) | - createArgsCodec [implementation] |
Instance Methods inherited from <FlutterPlatformViewFactory> | |
(NSObject< FlutterPlatformView > *) | - createWithFrame:viewIdentifier:arguments: |
(NSObject< FlutterMessageCodec > *) | - createArgsCodec |
(nonnull NSView *) | - createWithViewIdentifier:arguments: |
(nullable NSObject< FlutterMessageCodec > *) | - createArgsCodec |
Definition at line 22 of file TextPlatformView.h.
|
implementation |
Returns the FlutterMessageCodec
for decoding the args parameter of createWithFrame
.
Only needs to be implemented if createWithFrame
needs an arguments parameter.
Reimplemented from <FlutterPlatformViewFactory>.
Definition at line 17 of file TextPlatformView.m.
|
implementation |
Create a FlutterPlatformView
.
Implemented by iOS code that expose a UIView
for embedding in a Flutter app.
The implementation of this method should create a new UIView
and return it.
frame | The rectangle for the newly created UIView measured in points. |
viewId | A unique identifier for this UIView . |
args | Parameters for creating the UIView sent from the Dart side of the Flutter app. If createArgsCodec is not implemented, or if no creation arguments were sent from the ␐Dart code, this will be null. Otherwise this will be the value sent from the Dart code as decoded by createArgsCodec . |
Reimplemented from <FlutterPlatformViewFactory>.
Definition at line 17 of file TextPlatformView.m.
- (instancetype) initWithMessenger: | (NSObject<FlutterBinaryMessenger>*) | messenger |
Definition at line 17 of file TextPlatformView.m.