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