if

"text/plain"

equals

type

))

handleSendText

intent

);

// Handle text being sent

@Override

public

void

configureFlutterEngine

@NonNull

FlutterEngine

flutterEngine

GeneratedPluginRegistrant

registerWith

flutterEngine

);

new

MethodChannel

flutterEngine

getDartExecutor

().

getBinaryMessenger

(),

CHANNEL

setMethodCallHandler

call

result

>

if

call

method