#import <FlutterTextInputPlugin.h>
Definition at line 29 of file FlutterTextInputPlugin.h.
◆ handleMethodCall:result:
Definition at line 2327 of file FlutterTextInputPlugin.mm.
2328 NSString* method = call.
method;
2331 [
self showTextInput];
2333 }
else if ([method isEqualToString:
kHideMethod]) {
2334 [
self hideTextInput];
2337 [
self setTextInputClient:[args[0] intValue] withConfiguration:args[1]];
2341 [
self setPlatformViewTextInputClient];
2344 [
self setTextInputEditingState:args];
2347 [
self clearTextInputClient];
2350 [
self setEditableSizeAndTransform:args];
2353 [
self updateMarkedRect:args];
2356 [
self triggerAutofillSave:[args boolValue]];
2362 [
self setSelectionRects:args];
2365 [
self setSelectionRects:args];
2368 [
self startLiveTextInput];
2371 [
self updateConfig:args];
2374 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2375 [
self handlePointerMove:pointerY];
2378 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2379 [
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 2287 of file FlutterTextInputPlugin.mm.
2287 :(id<FlutterTextInputDelegate>)textInputDelegate {
2288 self = [
super init];
2291 _textInputDelegate = textInputDelegate;
2292 _autofillContext = [[NSMutableDictionary alloc] init];
2294 _scribbleElements = [[NSMutableDictionary alloc] init];
2295 _keyboardViewContainer = [[UIView alloc] init];
2297 [[NSNotificationCenter defaultCenter] addObserver:self
2298 selector:@selector(handleKeyboardWillShow:)
2299 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 2943 of file FlutterTextInputPlugin.mm.
2945 if (@available(iOS 14.0, *)) {
2947 if (parentView != nil) {
2948 UIIndirectScribbleInteraction* scribbleInteraction = [[UIIndirectScribbleInteraction alloc]
2949 initWithDelegate:(id<UIIndirectScribbleInteractionDelegate>)self];
2950 [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 2323 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: