waitForClick method

Future<MousePressedEvent> waitForClick({
  1. bool markAsHandled = false,
  2. bool continueRendering = true,
})

Implementation

Future<MousePressedEvent> waitForClick(
        {bool markAsHandled = false, bool continueRendering = true}) =>
    waitForEvent(EventType.mousePressedEvent,
        markAsHandled: markAsHandled, continueRendering: continueRendering);