#import <FlutterTextInputPlugin.h>
Definition at line 33 of file FlutterTextInputPlugin.h.
◆ handleMethodCall:result:
Definition at line 2351 of file FlutterTextInputPlugin.mm.
2352 NSString* method = call.
method;
2355 [
self showTextInput];
2357 }
else if ([method isEqualToString:
kHideMethod]) {
2358 [
self hideTextInput];
2361 [
self setTextInputClient:[args[0] intValue] withConfiguration:args[1]];
2365 [
self setPlatformViewTextInputClient];
2368 [
self setTextInputEditingState:args];
2371 [
self clearTextInputClient];
2374 [
self setEditableSizeAndTransform:args];
2377 [
self updateMarkedRect:args];
2380 [
self triggerAutofillSave:[args boolValue]];
2386 [
self setSelectionRects:args];
2389 [
self setSelectionRects:args];
2392 [
self startLiveTextInput];
2395 [
self updateConfig:args];
2398 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2399 [
self handlePointerMove:pointerY];
2402 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2403 [
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 2311 of file FlutterTextInputPlugin.mm.
2311 :(id<FlutterTextInputDelegate>)textInputDelegate {
2312 self = [
super init];
2315 _textInputDelegate = textInputDelegate;
2316 _autofillContext = [[NSMutableDictionary alloc] init];
2318 _scribbleElements = [[NSMutableDictionary alloc] init];
2319 _keyboardViewContainer = [[UIView alloc] init];
2321 [[NSNotificationCenter defaultCenter] addObserver:self
2322 selector:@selector(handleKeyboardWillShow:)
2323 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 2967 of file FlutterTextInputPlugin.mm.
2969 if (@available(iOS 14.0, *)) {
2971 if (parentView != nil) {
2972 UIIndirectScribbleInteraction* scribbleInteraction = [[UIIndirectScribbleInteraction alloc]
2973 initWithDelegate:(id<UIIndirectScribbleInteractionDelegate>)self];
2974 [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 2347 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: