MethodChannelUiPasteComponent constructor
MethodChannelUiPasteComponent()
Implementation
MethodChannelUiPasteComponent() {
methodChannel.setMethodCallHandler((call) {
switch (call.method) {
case "pasted":
_paste?.call(call.arguments.toString());
break;
default:
}
return Future.value();
});
}