scale method

ConstraintDimenData scale(
  1. double scaleFactor
)

Implementation

ConstraintDimenData scale(double scaleFactor) {
  return ConstraintDimenData(
    width: width * scaleFactor,
    height: height * scaleFactor,
    maxWidth: maxWidth * scaleFactor,
    maxHeight: maxHeight * scaleFactor,
    minWidth: minWidth * scaleFactor,
    minHeight: minHeight * scaleFactor,
  );
}