updateWindowHeight method
Implementation
void updateWindowHeight(DragUpdateDetails detail) {
windowHeight -= detail.delta.dy;
if (windowHeight <= minWindowHeight) {
windowHeight = minWindowHeight;
}
if (windowHeight >= maxWindowHeight) {
windowHeight = maxWindowHeight;
}
setState(() {});
}