silvernoo
V2EX  ›  Flutter

flutter 怎么释放事件

  •  
  •   silvernoo ·
    silvernoo · May 19, 2020 · 2966 views
    This topic created in 2186 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   ·   1206 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:42 · PVG 01:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.