When a ModalBottomSheets that due to its content is smaller than a full screen bottom sheet, the user has to move the dialog almost to the bottom of the screen before it dismisses. This is because the closeProgressThreshold calculates the threshold based on the viewport size and not the size of the rendered bottom sheet.
We need to adjust for this based on the height difference of the viewport and the rendered content within the bottom sheet dialog
When a ModalBottomSheets that due to its content is smaller than a full screen bottom sheet, the user has to move the dialog almost to the bottom of the screen before it dismisses. This is because the closeProgressThreshold calculates the threshold based on the viewport size and not the size of the rendered bottom sheet.
We need to adjust for this based on the height difference of the viewport and the rendered content within the bottom sheet dialog
Related issue: #421