skip to Main Content

Flutter – ListView wrapped by Listener

Listener( onPointerUp: (event) { LogUtil.v('++++++onPointerUp++++'); }, child: ListView.builder( itemCount:10, itemBuilder:(context, index) { return GestureDetector( onTap:() { LogUtil.v('++++++GestureDetector++++'); }, child:Container( height:200 ) ) } )) When I click listview item, print '++++++GestureDetector++++' ,'++++++onPointerUp++++' also printed. How can I make '++++++onPointerUp++++' not…

VIEW QUESTION
Back To Top
Search