出现这个bug是因为没有初始化 flutter_screenutil 加上下面的代码就好了
注意要加在使用flutter_screenutil 的开头
ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context);
出现这个bug是因为没有初始化 flutter_screenutil 加上下面的代码就好了
注意要加在使用flutter_screenutil 的开头
ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context);