MethodChannelCupertinoInteractiveKeyboard class

An implementation of CupertinoInteractiveKeyboardPlatform that uses method channels.

This implementation provides the concrete platform communication layer for iOS interactive keyboard functionality. It handles all method channel calls to the native iOS implementation and includes proper error handling with descriptive error messages.

The class communicates with the native iOS plugin through the 'cupertino_interactive_keyboard' method channel, sending structured data for scrollable rectangles and input accessory heights.

Inheritance

Constructors

MethodChannelCupertinoInteractiveKeyboard()
Constructor that sets up the method call handler.

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

initialize({required bool firstTime}) Future<bool?>
Initializes the platform implementation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeInputAccessoryHeight(int id) Future<void>
Removes the input accessory height for a given view ID.
override
removeScrollableRect(int id) Future<void>
Removes the scrollable area rectangle for a given view ID.
override
setInputAccessoryHeight(int id, double height) Future<void>
Sets the input accessory height for a given view ID.
override
setKeyboardVisibilityCallback(PlatformKeyboardVisibilityCallback? callback) → void
Sets the callback for keyboard visibility changes from the platform.
override
setScrollableRect(int id, Rect rect) Future<void>
Sets the scrollable area rectangle for a given view ID.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited