Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DraggableScrollableSheet snap to top before scrolling

Tags:

flutter

Looking for help with the draggable scrollable sheet. Atm if you flick the sheet up, the scroll activates straight away, and if you do a strong flick, the list scrolls until momentum stops. But what I'd like is an example where the list doesn't scroll when you flick up and the sheet just snaps to the top, and only then does the list become scrollabled, there after.

like image 316
Chris Moutray Avatar asked Nov 06 '22 04:11

Chris Moutray


1 Answers

There is an oppen issue for adding snap behaviour to the DraggableScrollableSheet: https://github.com/flutter/flutter/issues/34111

like image 56
ElOjcar Avatar answered Nov 25 '22 10:11

ElOjcar