Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Aneesh Rao
2020-09-30 11:06:33 +0530
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c35e4b96405bd8afa084c38ac695f9cf11f1aef1
c35e4b96
1 parent
5240c03a
dart doesn't use @param
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
lib/screenutil.dart
lib/screenutil.dart
View file @
c35e4b9
...
...
@@ -110,10 +110,10 @@ class ScreenUtil {
num
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]
num
setSp
(
num
fontSize
,
{
bool
allowFontScalingSelf
})
=>
allowFontScalingSelf
==
null
?
(
allowFontScaling
...
...
Please
register
or
login
to post a comment