openTop method
void
openTop()
Implementation
void openTop() {
var constraints = widget.model.constraints;
double h = constraints.maxHeight?? MediaQuery.of(context).size.height;
double screenHeight = h;
setState(() {
animate = true;
// fromLeft = fromRight = 0;
// fromTop = null; screenHeight - fromBottom;
fromBottom = widget.model.sizeTop != null ? screenHeight - widget.model.sizeTop! : 0;
openSheet = 'top';
});
}