screen_adapter 1.0.0 copy "screen_adapter: ^1.0.0" to clipboard
screen_adapter: ^1.0.0 copied to clipboard

屏幕适配插件

screen_adapter #

屏幕适配插件

#

基于 flutter_screenutil 开发的 仅用于android 和 ios 的屏幕适配 用法于 flutter_screenutil 基本一样。

使用 #

仅需一次初始化


Future<void> main() async {

ScreenUtil.init();

runApp(const MyApp());
}

调用 #

16.w 16.r 16.h ... 具体参考 flutter_screenutil

感谢 #

感谢 flutter_screenutil 提供的思路