type method

Future<FlutterInputMiss?> type(
  1. String text, {
  2. int gapMs = 0,
})

Types text into the focused Flutter field, one character per edit so formatters see each keystroke; null when delivered.

Implementation

Future<FlutterInputMiss?> type(String text, {int gapMs = 0}) =>
    _call({'op': 'type', 'text': text, 'gapMs': '$gapMs'}, extraMs: gapMs * text.length);