LiZhuoyuan

format code

@@ -114,8 +114,11 @@ class ScreenUtil { @@ -114,8 +114,11 @@ class ScreenUtil {
114 ///Font size adaptation method 114 ///Font size adaptation method
115 ///@param [fontSize] The size of the font on the UI design, in px. 115 ///@param [fontSize] The size of the font on the UI design, in px.
116 ///@param [allowFontScaling] 116 ///@param [allowFontScaling]
117 - num setSp(num fontSize, {bool allowFontScalingSelf}) => allowFontScalingSelf == null  
118 - ? (allowFontScaling ? (fontSize * scaleText) : ((fontSize * scaleText) / _textScaleFactor)) 117 + num setSp(num fontSize, {bool allowFontScalingSelf}) =>
  118 + allowFontScalingSelf == null
  119 + ? (allowFontScaling
  120 + ? (fontSize * scaleText)
  121 + : ((fontSize * scaleText) / _textScaleFactor))
119 : (allowFontScalingSelf 122 : (allowFontScalingSelf
120 ? (fontSize * scaleText) 123 ? (fontSize * scaleText)
121 : ((fontSize * scaleText) / _textScaleFactor)); 124 : ((fontSize * scaleText) / _textScaleFactor));