Basically, user can drag the bottomsheet even when item 0 is listed which means the _drag is not null when user tries to perform drag. Hence, the assert _drag == null line was throwing error. I just removed that line and confirmed that dragging the bottomsheet opens the listview properly without throwing any errors in the console.
This PR fixes this issue.
Basically, user can drag the bottomsheet even when
item 0
is listed which means the_drag
is not null when user tries to perform drag. Hence, theassert _drag == null
line was throwing error. I just removed that line and confirmed that dragging the bottomsheet opens the listview properly without throwing any errors in the console.