更新时间:2023-12-02 15:53:10
选择其他构造之一。有 5所定义的 GestureDetector
构造。二 - 那些不包括上下文
作为第一个参数 - 被标记为pcated德$ P $。您正在使用其中的一个。
Choose one of the other constructors. There are five defined constructors on GestureDetector
. Two -- the ones not including a Context
as the first parameter -- are marked as deprecated. You are using one of those.