openLeft method

void openLeft()

Implementation

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