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
李卓原
2021-12-23 14:48:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a77e9c328df894f510dcdaa09344bd2cc61a00a5
a77e9c32
1 parent
2d62bd2e
fix #305
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/screen_util.dart
lib/screen_util.dart
View file @
a77e9c3
...
...
@@ -105,7 +105,7 @@ class ScreenUtil {
///根据宽度或高度中的较小值进行适配
///Adapt according to the smaller of width or height
double
radius
(
num
r
)
=>
r
*
scaleText
;
double
radius
(
num
r
)
=>
r
*
min
(
scaleWidth
,
scaleHeight
)
;
///字体大小适配方法
///- [fontSize] UI设计上字体的大小,单位dp.
...
...
Please
register
or
login
to post a comment