silvernoo
V2EX  ›  Flutter

flutter 怎么释放事件

  •  
  •   silvernoo ·
    silvernoo · May 19, 2020 · 3034 views
    This topic created in 2215 days ago, the information mentioned may be changed or developed.
    写了一个控件,外层是一个 scrollview 。内部控件在接收到事件以后,某些情况下不需要消费事件,而把事件传递给父容器 scrollview 。

    类似 Android 中的 return false 。接收事件用的是 gesturedetector 。

    求大佬指点。或者给个文章我去学习学习
    1 replies    2020-05-20 02:31:07 +08:00
    fescover
        1
    fescover  
       May 20, 2020
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:02 · PVG 04:02 · LAX 13:02 · JFK 16:02
    ♥ Do have faith in what you're doing.