openRight method

void openRight()

Implementation

void openRight() {

  double width = widget.model.constraints.maxWidth ?? 0;

  setState(() {
    animate = true;
    // fromTop = fromBottom = 0;
    // fromRight = null;
    // fromRight = screenWidth - fromLeft;
    fromLeft = widget.model.sizeRight != null
        ? width - widget.model.sizeRight!
        : 0;
    activeDrawer = Drawers.right;
  });
}