InputInput typedef

InputInput = ({String? action, int? index, String? key, int? ref, String? text, String? textToEnter, String? type})

Input parameters for enterText.

Implementation

typedef InputInput = ({
  String? text,
  String? key,
  String? type,
  int? index,
  // Ref from fdb describe (`@N`).
  int? ref,
  // Text to enter (replaces the field content). Null when only [action] is sent.
  String? textToEnter,
  // IME action to send after the text: send, done, newline, go, search, next, ...
  String? action,
});