#import <FlutterTextInputPlugin.h>
Definition at line 29 of file FlutterTextInputPlugin.h.
◆ handleMethodCall:result:
Definition at line 2341 of file FlutterTextInputPlugin.mm.
2342 NSString* method = call.
method;
2345 [
self showTextInput];
2347 }
else if ([method isEqualToString:
kHideMethod]) {
2348 [
self hideTextInput];
2351 [
self setTextInputClient:[args[0] intValue] withConfiguration:args[1]];
2355 [
self setPlatformViewTextInputClient];
2358 [
self setTextInputEditingState:args];
2361 [
self clearTextInputClient];
2364 [
self setEditableSizeAndTransform:args];
2367 [
self updateMarkedRect:args];
2370 [
self triggerAutofillSave:[args boolValue]];
2376 [
self setSelectionRects:args];
2379 [
self setSelectionRects:args];
2382 [
self startLiveTextInput];
2385 [
self updateConfig:args];
2388 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2389 [
self handlePointerMove:pointerY];
2392 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2393 [
self handlePointerUp:pointerY];
References FlutterMethodCall::arguments, FlutterMethodNotImplemented, kClearClientMethod, kDeprecatedSetSelectionRectsMethod, kFinishAutofillContextMethod, kHideMethod, kOnInteractiveKeyboardPointerMoveMethod, kOnInteractiveKeyboardPointerUpMethod, kSetClientMethod, kSetEditableSizeAndTransformMethod, kSetEditingStateMethod, kSetMarkedTextRectMethod, kSetPlatformViewClientMethod, kSetSelectionRectsMethod, kShowMethod, kStartLiveTextInputMethod, kUpdateConfigMethod, and FlutterMethodCall::method.
◆ initWithDelegate:
Initial value:{
NSTimer* _enableFlutterTextInputViewAccessibilityTimer
Definition at line 2301 of file FlutterTextInputPlugin.mm.
2301 :(id<FlutterTextInputDelegate>)textInputDelegate {
2302 self = [
super init];
2305 _textInputDelegate = textInputDelegate;
2306 _autofillContext = [[NSMutableDictionary alloc] init];
2308 _scribbleElements = [[NSMutableDictionary alloc] init];
2309 _keyboardViewContainer = [[UIView alloc] init];
2311 [[NSNotificationCenter defaultCenter] addObserver:self
2312 selector:@selector(handleKeyboardWillShow:)
2313 name:UIKeyboardWillShowNotification
◆ NS_UNAVAILABLE [1/2]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ resetViewResponder
- (void) resetViewResponder |
|
|
|
◆ setUpIndirectScribbleInteraction:
These are used by the UIIndirectScribbleInteractionDelegate methods to handle focusing on the correct element.
Definition at line 2957 of file FlutterTextInputPlugin.mm.
2959 if (@available(iOS 14.0, *)) {
2961 if (parentView != nil) {
2962 UIIndirectScribbleInteraction* scribbleInteraction = [[UIIndirectScribbleInteraction alloc]
2963 initWithDelegate:(id<UIIndirectScribbleInteractionDelegate>)self];
2964 [parentView addInteraction:scribbleInteraction];
References viewResponder.
◆ textInputView
- (UIView< UITextInput > *) textInputView |
|
|
|
The UITextInput
implementation used to control text entry.
This is used by AccessibilityBridge
to forward interactions with iOS' accessibility system.
Definition at line 2337 of file FlutterTextInputPlugin.mm.
◆ __pad0__
◆ indirectScribbleDelegate
◆ scribbleElements
- (NSMutableDictionary<UIScribbleElementIdentifier, NSValue*>*) scribbleElements |
|
readwritenonatomicstrong |
◆ viewController
- (UIIndirectScribbleInteractionDelegate UIViewController*) viewController |
|
readwritenonatomicweak |
The documentation for this class was generated from the following files: