setHeight method

double setHeight(
  1. double height
)

Height function 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(double height) => height * scaleHeight;