mcrovero / rubber

An elastic material bottom sheet implementation for Flutter.
BSD 2-Clause "Simplified" License
562 stars 88 forks source link

Proper fix for issue #7: crash when dragging bellow 0 height #12

Closed aryzhov closed 5 years ago

aryzhov commented 5 years ago

I replaced the temporary fix with a proper fix that ensures that animation value always stays within lower and upper bounds.

aryzhov commented 5 years ago

I have realized that there are more issues that need to be addressed. In particular, need a way to dismiss the bottom sheet programmatically, and my fix would stand in the way to implementing that. I might be submitting a new pull request if I can make it work.