#import <FlutterTextInputPlugin.h>
Definition at line 33 of file FlutterTextInputPlugin.h.
◆ handleMethodCall:result:
Definition at line 2356 of file FlutterTextInputPlugin.mm.
2357 NSString* method = call.
method;
2360 [
self showTextInput];
2362 }
else if ([method isEqualToString:
kHideMethod]) {
2363 [
self hideTextInput];
2366 [
self setTextInputClient:[args[0] intValue] withConfiguration:args[1]];
2370 [
self setPlatformViewTextInputClient];
2373 [
self setTextInputEditingState:args];
2376 [
self clearTextInputClient];
2379 [
self setEditableSizeAndTransform:args];
2382 [
self updateMarkedRect:args];
2385 [
self triggerAutofillSave:[args boolValue]];
2391 [
self setSelectionRects:args];
2394 [
self setSelectionRects:args];
2397 [
self startLiveTextInput];
2400 [
self updateConfig:args];
2403 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2404 [
self handlePointerMove:pointerY];
2407 CGFloat pointerY = (CGFloat)[args[
@"pointerY"] doubleValue];
2408 [
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 2316 of file FlutterTextInputPlugin.mm.
2316 :(id<FlutterTextInputDelegate>)textInputDelegate {
2317 self = [
super init];
2320 _textInputDelegate = textInputDelegate;
2321 _autofillContext = [[NSMutableDictionary alloc] init];
2323 _scribbleElements = [[NSMutableDictionary alloc] init];
2324 _keyboardViewContainer = [[UIView alloc] init];
2326 [[NSNotificationCenter defaultCenter] addObserver:self
2327 selector:@selector(handleKeyboardWillShow:)
2328 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 2972 of file FlutterTextInputPlugin.mm.
2974 if (@available(iOS 14.0, *)) {
2976 if (parentView != nil) {
2977 UIIndirectScribbleInteraction* scribbleInteraction = [[UIIndirectScribbleInteraction alloc]
2978 initWithDelegate:(id<UIIndirectScribbleInteractionDelegate>)self];
2979 [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 2352 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: