ListView (1)

ListView scrolling inside BottomSheet

I’m working on a personal project that uses a ListView inside the new widget BottomSheet and I found one issue. When the BottomSheet is expanded and the ListView is totally visible, you can scroll down, but when you try to scroll up, you drag the BottomSheet instead of the ListView.

I worte one class that extends the original ListView and solves this. It scrolls the ListView by default, but has two ways to determine if should scroll the BottoomSheet instead of the ListView.