/*** Process the released state of LV_INDEV_TYPE_POINTER input devices* @param proc pointer to an input device 'proc'*/
static void indev_proc_release(_lv_indev_proc_t * proc)
{if(proc->wait_until_release != 0) {lv_event_send(proc->types.pointer.act_obj, LV_EVENT_PRESS_LOST, indev_act);if(indev_reset_check(proc)) return;/** Actions:* lv_indev_wait_release() will reset proc->types.pointer.last_obj,* but keep scroll_throw_vect and scroll_obj, which may prevent searching* another new scroll object (in indev_proc_press(), the scroll_dir will* be reset, and scroll_obj kept, so find_scroll_obj() will not work).** So stop the scroll throw here if any.*/proc->types.pointer.scroll_throw_vect.x = 0;proc->types.pointer.scroll_throw_vect.y = 0;proc->types.pointer.act_obj = NULL;proc->types.pointer.last_obj = NULL;proc->pr_timestamp = 0;proc->longpr_rep_timestamp = 0;proc->wait_until_release
在终端里输入 flutter doctor 是我们检查flutter是否配置好的方法。
在输出信息里常碰到两个警告
! Warning: dart on your path resolves to /usr/local/Cellar/dart/2.18.6/libexec/bin/dart,which is not inside your current Flutter SDK checkout at /Users/dengpeng/fl…