setText method

Future<void> setText(
  1. String text
)

Sets the search text programmatically.

Implementation

Future<void> setText(String text) async {
  final channel = _channel;
  if (channel == null) return;
  await channel.invokeMethod('setText', {'text': text});
}