sendPerformAction static method

dynamic sendPerformAction(
  1. TextInputAction action
)

Implementation

static sendPerformAction(TextInputAction action) {
  var callbackMethodCall = MethodCall("TextInputClient.performAction",
      [_keyboardController!.client!.connectionId, action.toString()]);
  ServicesBinding.instance!.defaultBinaryMessenger.handlePlatformMessage("flutter/textinput",
      _codec.encodeMethodCall(callbackMethodCall), (data) {});
}