Last updated:
0 purchases
screen adapter
screen_adapter #
屏幕适配插件
#
基于 flutter_screenutil 开发的 仅用于android 和 ios 的屏幕适配
用法于 flutter_screenutil 基本一样。
使用 #
仅需一次初始化
Future<void> main() async {
ScreenUtil.init();
runApp(const MyApp());
}
copied to clipboard
调用 #
16.w
16.r
16.h
...
具体参考 flutter_screenutil
感谢 #
感谢 flutter_screenutil 提供的思路
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.