def flick(query, from, to, options={})
      ensure_query_class_or_nil(query)

      ensure_valid_swipe_params(from, to)

      gesture_options = options.dup
      gesture_options[:duration] ||= 0.5
      gesture_options[:timeout] ||= Calabash::Gestures::DEFAULT_GESTURE_WAIT_TIMEOUT

      _flick(query, from, to, gesture_options)
    end
def flick(query, from, to, options={})
      ensure_query_class_or_nil(query)

      ensure_valid_swipe_params(from, to)

      gesture_options = options.dup
      gesture_options[:duration] ||= 0.5
      gesture_options[:timeout] ||= Calabash::Gestures::DEFAULT_GESTURE_WAIT_TIMEOUT

      _flick(query, from, to, gesture_options)
    end
Performs a `flick` on the (first) view that matches `query`.
 @see Calabash::Gestures#flick
 @!visibility private