setHeight method

double setHeight(
  1. num height
)

Highly adaptable to the device according to UI Design It is recommended to use this method to achieve a high degree of adaptation when it is found that one screen in the UI design does not match the current style effect, or if there is a difference in shape.

Implementation

double setHeight(num height) => height * scaleHeight;