openRight method

void openRight()

Implementation

void openRight() {
  var constraints = widget.model.constraints;
  double w = constraints.maxWidth ?? MediaQuery.of(context).size.width;
  double screenWidth = w;
  setState(() {
    animate = true;
    // fromTop = fromBottom = 0;
    // fromRight = null;
    // fromRight = screenWidth - fromLeft;
    fromLeft = widget.model.sizeRight != null ? screenWidth - widget.model.sizeRight! : 0;
    openSheet = 'right';
  });
}