Skip to content

Commit

Permalink
Merge pull request OpenFlutter#5 from sidrao2006/docs
Browse files Browse the repository at this point in the history
dart doesn't use @param
  • Loading branch information
sidrao2006 authored Sep 30, 2020
2 parents c0b3318 + 714c83f commit 502fe2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/screenutil.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ class ScreenUtil {
double setHeight(num height) => height * scaleHeight;

///字体大小适配方法
///@param [fontSize] UI设计上字体的大小,单位px.
///- [fontSize] UI设计上字体的大小,单位px.
///Font size adaptation method
///@param [fontSize] The size of the font on the UI design, in px.
///@param [allowFontScaling]
///- [fontSize] The size of the font on the UI design, in px.
///- [allowFontScaling]
double setSp(num fontSize, {bool allowFontScalingSelf}) =>
allowFontScalingSelf == null
? (allowFontScaling
Expand Down

0 comments on commit 502fe2d

Please sign in to comment.