NativeTapInput typedef
NativeTapInput = ({int? index, bool logical, String? text, int? timeoutSeconds, double? x, double? y})
Input parameters for nativeTap.
Exactly one target: x and y together, or text.
text: label, content description or resource id of a native element on Android; accessibility label or identifier on the iOS simulator.indexpicks among several matches (0-based).timeoutSecondsis how long to keep looking for a match (default 5).logical:x/yare Flutter logical pixels. On Android they are multiplied by the device pixel ratio; on the iOS simulator they are already points, so it changes nothing.
Implementation
typedef NativeTapInput = ({
double? x,
double? y,
String? text,
int? index,
int? timeoutSeconds,
bool logical,
});